Attempt to clean up the database cluster directory
This will help to avoid issues where the database cluster directory is left in an inconsistent state.
This commit is contained in:
parent
81b81437fd
commit
1354fe5355
13 changed files with 288 additions and 8 deletions
|
|
@ -26,6 +26,7 @@ import { EnvVar } from "./environment";
|
|||
import { Feature, Features } from "./feature-flags";
|
||||
import {
|
||||
checkInstallPython311,
|
||||
cleanupDatabaseClusterDirectory,
|
||||
initCodeQL,
|
||||
initConfig,
|
||||
isSipEnabled,
|
||||
|
|
@ -321,6 +322,8 @@ async function run() {
|
|||
}
|
||||
|
||||
try {
|
||||
cleanupDatabaseClusterDirectory(config, logger);
|
||||
|
||||
// Forward Go flags
|
||||
const goFlags = process.env["GOFLAGS"];
|
||||
if (goFlags) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue