Crash in init prior to debug improvements

This commit is contained in:
Angela P Wen
2022-08-24 20:59:38 -07:00
parent ceea66834a
commit b4f2bb1dd4
3 changed files with 3 additions and 1 deletions

1
lib/init.js generated
View File

@@ -60,6 +60,7 @@ async function runInit(codeql, config, sourceRoot, processName, processLevel, fe
await codeql.databaseInit(util.getCodeQLDatabasePath(config, language), language, sourceRoot);
}
}
throw new Error("Crashing just after database is initialized.");
}
catch (e) {
// Handle the situation where init is called twice