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:
parent
f2027c51f7
commit
87bfa0ea7a
3 changed files with 4 additions and 4 deletions
2
lib/init-action.js
generated
2
lib/init-action.js
generated
|
|
@ -56,7 +56,7 @@ async function sendSuccessStatusReport(startedAt, config, toolsVersion) {
|
||||||
...statusReportBase,
|
...statusReportBase,
|
||||||
disable_default_queries: disableDefaultQueries,
|
disable_default_queries: disableDefaultQueries,
|
||||||
languages,
|
languages,
|
||||||
ml_powered_js_queries: (0, util_1.getMlPoweredJsQueriesStatus)(config),
|
ml_powered_javascript_queries: (0, util_1.getMlPoweredJsQueriesStatus)(config),
|
||||||
paths,
|
paths,
|
||||||
paths_ignore: pathsIgnore,
|
paths_ignore: pathsIgnore,
|
||||||
queries: queries.join(","),
|
queries: queries.join(","),
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -58,7 +58,7 @@ interface InitSuccessStatusReport extends StatusReportBase {
|
||||||
*
|
*
|
||||||
* @see {@link getMlPoweredJsQueriesStatus}
|
* @see {@link getMlPoweredJsQueriesStatus}
|
||||||
*/
|
*/
|
||||||
ml_powered_js_queries: string;
|
ml_powered_javascript_queries: string;
|
||||||
/** Comma-separated list of paths, from the 'paths' config field. */
|
/** Comma-separated list of paths, from the 'paths' config field. */
|
||||||
paths: string;
|
paths: string;
|
||||||
/** Comma-separated list of paths, from the 'paths-ignore' config field. */
|
/** Comma-separated list of paths, from the 'paths-ignore' config field. */
|
||||||
|
|
@ -114,7 +114,7 @@ async function sendSuccessStatusReport(
|
||||||
...statusReportBase,
|
...statusReportBase,
|
||||||
disable_default_queries: disableDefaultQueries,
|
disable_default_queries: disableDefaultQueries,
|
||||||
languages,
|
languages,
|
||||||
ml_powered_js_queries: getMlPoweredJsQueriesStatus(config),
|
ml_powered_javascript_queries: getMlPoweredJsQueriesStatus(config),
|
||||||
paths,
|
paths,
|
||||||
paths_ignore: pathsIgnore,
|
paths_ignore: pathsIgnore,
|
||||||
queries: queries.join(","),
|
queries: queries.join(","),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue