mirror of
https://github.com/github/codeql-action.git
synced 2026-10-03 17:41:28 +00:00
Explain why we ignore extra baseline files options
This commit is contained in:
3
lib/analyze-action-post.js
generated
3
lib/analyze-action-post.js
generated
@@ -124967,6 +124967,9 @@ async function getCodeQLForCmd(cmd, checkVersion) {
|
||||
"--extractor-include-aliases",
|
||||
...extraArgs,
|
||||
...getExtraOptionsFromEnv(["database", "init"], {
|
||||
// Some user configs specify `--no-calculate-baseline` as an additional
|
||||
// argument to `codeql database init`. Therefore ignore the baseline file
|
||||
// options here to avoid specifying the same argument twice and erroring.
|
||||
ignoringOptions: ["--overwrite", ...baselineFilesOptions]
|
||||
})
|
||||
],
|
||||
|
||||
3
lib/analyze-action.js
generated
3
lib/analyze-action.js
generated
@@ -93067,6 +93067,9 @@ async function getCodeQLForCmd(cmd, checkVersion) {
|
||||
"--extractor-include-aliases",
|
||||
...extraArgs,
|
||||
...getExtraOptionsFromEnv(["database", "init"], {
|
||||
// Some user configs specify `--no-calculate-baseline` as an additional
|
||||
// argument to `codeql database init`. Therefore ignore the baseline file
|
||||
// options here to avoid specifying the same argument twice and erroring.
|
||||
ignoringOptions: ["--overwrite", ...baselineFilesOptions]
|
||||
})
|
||||
],
|
||||
|
||||
3
lib/autobuild-action.js
generated
3
lib/autobuild-action.js
generated
@@ -88167,6 +88167,9 @@ async function getCodeQLForCmd(cmd, checkVersion) {
|
||||
"--extractor-include-aliases",
|
||||
...extraArgs,
|
||||
...getExtraOptionsFromEnv(["database", "init"], {
|
||||
// Some user configs specify `--no-calculate-baseline` as an additional
|
||||
// argument to `codeql database init`. Therefore ignore the baseline file
|
||||
// options here to avoid specifying the same argument twice and erroring.
|
||||
ignoringOptions: ["--overwrite", ...baselineFilesOptions]
|
||||
})
|
||||
],
|
||||
|
||||
3
lib/init-action-post.js
generated
3
lib/init-action-post.js
generated
@@ -129602,6 +129602,9 @@ async function getCodeQLForCmd(cmd, checkVersion) {
|
||||
"--extractor-include-aliases",
|
||||
...extraArgs,
|
||||
...getExtraOptionsFromEnv(["database", "init"], {
|
||||
// Some user configs specify `--no-calculate-baseline` as an additional
|
||||
// argument to `codeql database init`. Therefore ignore the baseline file
|
||||
// options here to avoid specifying the same argument twice and erroring.
|
||||
ignoringOptions: ["--overwrite", ...baselineFilesOptions]
|
||||
})
|
||||
],
|
||||
|
||||
3
lib/init-action.js
generated
3
lib/init-action.js
generated
@@ -91417,6 +91417,9 @@ async function getCodeQLForCmd(cmd, checkVersion) {
|
||||
"--extractor-include-aliases",
|
||||
...extraArgs,
|
||||
...getExtraOptionsFromEnv(["database", "init"], {
|
||||
// Some user configs specify `--no-calculate-baseline` as an additional
|
||||
// argument to `codeql database init`. Therefore ignore the baseline file
|
||||
// options here to avoid specifying the same argument twice and erroring.
|
||||
ignoringOptions: ["--overwrite", ...baselineFilesOptions]
|
||||
})
|
||||
],
|
||||
|
||||
3
lib/resolve-environment-action.js
generated
3
lib/resolve-environment-action.js
generated
@@ -87860,6 +87860,9 @@ async function getCodeQLForCmd(cmd, checkVersion) {
|
||||
"--extractor-include-aliases",
|
||||
...extraArgs,
|
||||
...getExtraOptionsFromEnv(["database", "init"], {
|
||||
// Some user configs specify `--no-calculate-baseline` as an additional
|
||||
// argument to `codeql database init`. Therefore ignore the baseline file
|
||||
// options here to avoid specifying the same argument twice and erroring.
|
||||
ignoringOptions: ["--overwrite", ...baselineFilesOptions]
|
||||
})
|
||||
],
|
||||
|
||||
3
lib/setup-codeql-action.js
generated
3
lib/setup-codeql-action.js
generated
@@ -89169,6 +89169,9 @@ async function getCodeQLForCmd(cmd, checkVersion) {
|
||||
"--extractor-include-aliases",
|
||||
...extraArgs,
|
||||
...getExtraOptionsFromEnv(["database", "init"], {
|
||||
// Some user configs specify `--no-calculate-baseline` as an additional
|
||||
// argument to `codeql database init`. Therefore ignore the baseline file
|
||||
// options here to avoid specifying the same argument twice and erroring.
|
||||
ignoringOptions: ["--overwrite", ...baselineFilesOptions]
|
||||
})
|
||||
],
|
||||
|
||||
3
lib/upload-lib.js
generated
3
lib/upload-lib.js
generated
@@ -91889,6 +91889,9 @@ async function getCodeQLForCmd(cmd, checkVersion) {
|
||||
"--extractor-include-aliases",
|
||||
...extraArgs,
|
||||
...getExtraOptionsFromEnv(["database", "init"], {
|
||||
// Some user configs specify `--no-calculate-baseline` as an additional
|
||||
// argument to `codeql database init`. Therefore ignore the baseline file
|
||||
// options here to avoid specifying the same argument twice and erroring.
|
||||
ignoringOptions: ["--overwrite", ...baselineFilesOptions]
|
||||
})
|
||||
],
|
||||
|
||||
3
lib/upload-sarif-action.js
generated
3
lib/upload-sarif-action.js
generated
@@ -92439,6 +92439,9 @@ async function getCodeQLForCmd(cmd, checkVersion) {
|
||||
"--extractor-include-aliases",
|
||||
...extraArgs,
|
||||
...getExtraOptionsFromEnv(["database", "init"], {
|
||||
// Some user configs specify `--no-calculate-baseline` as an additional
|
||||
// argument to `codeql database init`. Therefore ignore the baseline file
|
||||
// options here to avoid specifying the same argument twice and erroring.
|
||||
ignoringOptions: ["--overwrite", ...baselineFilesOptions]
|
||||
})
|
||||
],
|
||||
|
||||
@@ -642,6 +642,9 @@ async function getCodeQLForCmd(
|
||||
"--extractor-include-aliases",
|
||||
...extraArgs,
|
||||
...getExtraOptionsFromEnv(["database", "init"], {
|
||||
// Some user configs specify `--no-calculate-baseline` as an additional
|
||||
// argument to `codeql database init`. Therefore ignore the baseline file
|
||||
// options here to avoid specifying the same argument twice and erroring.
|
||||
ignoringOptions: ["--overwrite", ...baselineFilesOptions],
|
||||
}),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user