From 79d8e4a43d02aae0ce49770f79bde88f919c4731 Mon Sep 17 00:00:00 2001 From: tombolton Date: Mon, 13 Jun 2022 15:18:46 +0100 Subject: [PATCH] fix lint errors --- src/util.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/util.ts b/src/util.ts index 41681274c..ac4dc0a28 100644 --- a/src/util.ts +++ b/src/util.ts @@ -666,8 +666,7 @@ export async function getMlPoweredJsQueriesPack( ): Promise { if (await codeQlVersionAbove(codeQL, "2.9.3")) { 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.1.0`; @@ -743,8 +742,8 @@ export async function checkActionVersion(version: string) { ) { core.warning( "CodeQL Action v1 will be deprecated on December 7th, 2022. Please upgrade to v2. For " + - "more information, see " + - "https://github.blog/changelog/2022-04-27-code-scanning-deprecation-of-codeql-action-v1/" + "more information, see " + + "https://github.blog/changelog/2022-04-27-code-scanning-deprecation-of-codeql-action-v1/" ); } }