Rename ML powered JS queries status report field

The new name `ml_powered_javascript_queries` is more consistent with
status report fields for analysis and interpretation duration metrics.
This isn't a breaking change since the old name never made it into the
GitHub API.
This commit is contained in:
Henry Mercer 2022-02-09 12:56:31 +00:00
parent f2027c51f7
commit 87bfa0ea7a
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(","),