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:
parent
f8b1cb6997
commit
2408985f4e
3 changed files with 3 additions and 3 deletions
2
lib/analyze.js
generated
2
lib/analyze.js
generated
|
|
@ -209,7 +209,7 @@ async function runQueries(sarifFolder, memoryFlag, addSnippetsFlag, threadsFlag,
|
|||
logger.endGroup();
|
||||
logger.info(analysisSummary);
|
||||
}
|
||||
logger.info(await runPrintLinesOfCode(language));
|
||||
await runPrintLinesOfCode(language);
|
||||
}
|
||||
catch (e) {
|
||||
logger.info(String(e));
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue