mirror of
https://github.com/github/codeql-action.git
synced 2026-01-06 22:50:17 +08:00
Always use force: true for del
This commit is contained in:
@@ -566,7 +566,7 @@ export async function bundleDb(
|
||||
// from somewhere else or someone trying to make the action upload a
|
||||
// non-database file.
|
||||
if (fs.existsSync(databaseBundlePath)) {
|
||||
await del(databaseBundlePath);
|
||||
await del(databaseBundlePath, { force: true });
|
||||
}
|
||||
await codeql.databaseBundle(databasePath, databaseBundlePath);
|
||||
return databaseBundlePath;
|
||||
|
||||
Reference in New Issue
Block a user