Don't print the lines of code baseline when new analysis summary enabled

This commit is contained in:
Henry Mercer 2023-07-28 14:03:02 +01:00
parent feea86eed3
commit 67e62e7b01
3 changed files with 9 additions and 3 deletions

4
lib/analyze.js generated
View file

@ -232,7 +232,9 @@ async function runQueries(sarifFolder, memoryFlag, addSnippetsFlag, threadsFlag,
}
statusReport["event_reports"].push(perQueryAlertCountEventReport);
}
await runPrintLinesOfCode(language);
if (!(await features.getValue(feature_flags_1.Feature.NewAnalysisSummaryEnabled, codeql))) {
await runPrintLinesOfCode(language);
}
}
catch (e) {
logger.info(String(e));

File diff suppressed because one or more lines are too long