mirror of
https://github.com/github/codeql-action.git
synced 2026-01-03 21:20:09 +08:00
Merge branch 'main' into henrymercer/direct-tracing-fix
This commit is contained in:
@@ -612,12 +612,19 @@ export async function getCodeQLForCmd(
|
||||
extraArgs.push("--no-sublanguage-file-coverage");
|
||||
}
|
||||
|
||||
const overwriteFlag = isSupportedToolsFeature(
|
||||
await this.getVersion(),
|
||||
ToolsFeature.ForceOverwrite,
|
||||
)
|
||||
? "--force-overwrite"
|
||||
: "--overwrite";
|
||||
|
||||
await runTool(
|
||||
cmd,
|
||||
[
|
||||
"database",
|
||||
"init",
|
||||
"--overwrite",
|
||||
overwriteFlag,
|
||||
"--db-cluster",
|
||||
config.dbLocation,
|
||||
`--source-root=${sourceRoot}`,
|
||||
|
||||
Reference in New Issue
Block a user