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
@@ -124950,6 +124950,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,
|
||||
[
|
||||
@@ -124959,12 +124963,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 }
|
||||
|
||||
Generated
+6
-3
@@ -93050,6 +93050,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,
|
||||
[
|
||||
@@ -93059,12 +93063,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 }
|
||||
|
||||
Generated
+6
-3
@@ -88150,6 +88150,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,
|
||||
[
|
||||
@@ -88159,12 +88163,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 }
|
||||
|
||||
Generated
+6
-3
@@ -129585,6 +129585,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,
|
||||
[
|
||||
@@ -129594,12 +129598,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 }
|
||||
|
||||
Generated
+6
-3
@@ -91400,6 +91400,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,
|
||||
[
|
||||
@@ -91409,12 +91413,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 }
|
||||
|
||||
Generated
+6
-3
@@ -87843,6 +87843,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,
|
||||
[
|
||||
@@ -87852,12 +87856,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 }
|
||||
|
||||
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 }
|
||||
|
||||
Generated
+6
-3
@@ -91872,6 +91872,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,
|
||||
[
|
||||
@@ -91881,12 +91885,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 }
|
||||
|
||||
Generated
+6
-3
@@ -92422,6 +92422,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,
|
||||
[
|
||||
@@ -92431,12 +92435,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