fix lint errors
This commit is contained in:
parent
0ece1d1000
commit
79d8e4a43d
1 changed files with 3 additions and 4 deletions
|
|
@ -666,8 +666,7 @@ export async function getMlPoweredJsQueriesPack(
|
||||||
): Promise<string> {
|
): Promise<string> {
|
||||||
if (await codeQlVersionAbove(codeQL, "2.9.3")) {
|
if (await codeQlVersionAbove(codeQL, "2.9.3")) {
|
||||||
return `${ML_POWERED_JS_QUERIES_PACK_NAME}@~0.3.0`;
|
return `${ML_POWERED_JS_QUERIES_PACK_NAME}@~0.3.0`;
|
||||||
}
|
} else if (await codeQlVersionAbove(codeQL, "2.8.4")) {
|
||||||
else if (await codeQlVersionAbove(codeQL, "2.8.4")) {
|
|
||||||
return `${ML_POWERED_JS_QUERIES_PACK_NAME}@~0.2.0`;
|
return `${ML_POWERED_JS_QUERIES_PACK_NAME}@~0.2.0`;
|
||||||
}
|
}
|
||||||
return `${ML_POWERED_JS_QUERIES_PACK_NAME}@~0.1.0`;
|
return `${ML_POWERED_JS_QUERIES_PACK_NAME}@~0.1.0`;
|
||||||
|
|
@ -743,8 +742,8 @@ export async function checkActionVersion(version: string) {
|
||||||
) {
|
) {
|
||||||
core.warning(
|
core.warning(
|
||||||
"CodeQL Action v1 will be deprecated on December 7th, 2022. Please upgrade to v2. For " +
|
"CodeQL Action v1 will be deprecated on December 7th, 2022. Please upgrade to v2. For " +
|
||||||
"more information, see " +
|
"more information, see " +
|
||||||
"https://github.blog/changelog/2022-04-27-code-scanning-deprecation-of-codeql-action-v1/"
|
"https://github.blog/changelog/2022-04-27-code-scanning-deprecation-of-codeql-action-v1/"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue