Add the overwrite flag when init-ing databases
This ensures that if there is a database already in the filesystem, we can gracefully handle creating a new one. This sometimes happens when a user is on a self-hosted runner and neglects to clean state across runs.
This commit is contained in:
parent
1c270d01c7
commit
4a666f8539
4 changed files with 4 additions and 2 deletions
|
|
@ -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