mirror of
https://github.com/github/codeql-action.git
synced 2026-04-27 17:39:15 +00:00
Use FF to disable baseline file coverage
This commit is contained in:
Generated
+6
-3
@@ -89152,6 +89152,10 @@ async function getCodeQLForCmd(cmd, checkVersion) {
|
||||
} else if (overlayDatabaseMode === "overlay-base" /* OverlayBase */) {
|
||||
extraArgs.push("--overlay-base");
|
||||
}
|
||||
const baselineFilesOptions = config.enableFileCoverageInformation ? [
|
||||
"--calculate-language-specific-baseline",
|
||||
"--sublanguage-file-coverage"
|
||||
] : ["--no-calculate-baseline"];
|
||||
await runCli(
|
||||
cmd,
|
||||
[
|
||||
@@ -89161,12 +89165,11 @@ async function getCodeQLForCmd(cmd, checkVersion) {
|
||||
"--db-cluster",
|
||||
config.dbLocation,
|
||||
`--source-root=${sourceRoot}`,
|
||||
"--calculate-language-specific-baseline",
|
||||
...baselineFilesOptions,
|
||||
"--extractor-include-aliases",
|
||||
"--sublanguage-file-coverage",
|
||||
...extraArgs,
|
||||
...getExtraOptionsFromEnv(["database", "init"], {
|
||||
ignoringOptions: ["--overwrite"]
|
||||
ignoringOptions: ["--overwrite", ...baselineFilesOptions]
|
||||
})
|
||||
],
|
||||
{ stdin: externalRepositoryToken }
|
||||
|
||||
Reference in New Issue
Block a user