Only print lines of code information once

CodeQL already prints it, so we don't need to print it again.
This commit is contained in:
Henry Mercer
2023-05-26 20:34:30 +01:00
parent f8b1cb6997
commit 2408985f4e
3 changed files with 3 additions and 3 deletions

View File

@@ -352,7 +352,7 @@ export async function runQueries(
logger.endGroup();
logger.info(analysisSummary);
}
logger.info(await runPrintLinesOfCode(language));
await runPrintLinesOfCode(language);
} catch (e) {
logger.info(String(e));
if (e instanceof Error) {