Merge pull request #2229 from github/aeisenberg/add-overwrite
Add the overwrite flag when init-ing databases
This commit is contained in:
commit
24a95a0411
4 changed files with 4 additions and 2 deletions
|
|
@ -6,7 +6,7 @@ Note that the only difference between `v2` and `v3` of the CodeQL Action is the
|
|||
|
||||
## [UNRELEASED]
|
||||
|
||||
No user facing changes.
|
||||
- Automatically overwrite an existing database if found on the filesystem. [#2229](https://github.com/github/codeql-action/pull/2229)
|
||||
|
||||
## 3.24.10 - 05 Apr 2024
|
||||
|
||||
|
|
|
|||
1
lib/codeql.js
generated
1
lib/codeql.js
generated
|
|
@ -301,6 +301,7 @@ async function getCodeQLForCmd(cmd, checkVersion) {
|
|||
await runTool(cmd, [
|
||||
"database",
|
||||
"init",
|
||||
"--overwrite",
|
||||
"--db-cluster",
|
||||
config.dbLocation,
|
||||
`--source-root=${sourceRoot}`,
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -634,6 +634,7 @@ export async function getCodeQLForCmd(
|
|||
[
|
||||
"database",
|
||||
"init",
|
||||
"--overwrite",
|
||||
"--db-cluster",
|
||||
config.dbLocation,
|
||||
`--source-root=${sourceRoot}`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue