mirror of
https://github.com/github/codeql-action.git
synced 2026-04-28 18:08:53 +00:00
Explain why we ignore extra baseline files options
This commit is contained in:
@@ -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