Merge pull request #919 from github/henrymercer/rename-status-report-field

Rename ML powered JS queries status report field
This commit is contained in:
Henry Mercer 2022-02-10 10:44:15 +00:00 committed by GitHub
commit 3d2ad0b9c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

2
lib/init-action.js generated
View file

@ -56,7 +56,7 @@ async function sendSuccessStatusReport(startedAt, config, toolsVersion) {
...statusReportBase,
disable_default_queries: disableDefaultQueries,
languages,
ml_powered_js_queries: (0, util_1.getMlPoweredJsQueriesStatus)(config),
ml_powered_javascript_queries: (0, util_1.getMlPoweredJsQueriesStatus)(config),
paths,
paths_ignore: pathsIgnore,
queries: queries.join(","),

File diff suppressed because one or more lines are too long

View file

@ -58,7 +58,7 @@ interface InitSuccessStatusReport extends StatusReportBase {
*
* @see {@link getMlPoweredJsQueriesStatus}
*/
ml_powered_js_queries: string;
ml_powered_javascript_queries: string;
/** Comma-separated list of paths, from the 'paths' config field. */
paths: string;
/** Comma-separated list of paths, from the 'paths-ignore' config field. */
@ -114,7 +114,7 @@ async function sendSuccessStatusReport(
...statusReportBase,
disable_default_queries: disableDefaultQueries,
languages,
ml_powered_js_queries: getMlPoweredJsQueriesStatus(config),
ml_powered_javascript_queries: getMlPoweredJsQueriesStatus(config),
paths,
paths_ignore: pathsIgnore,
queries: queries.join(","),