Fix formatting

This commit is contained in:
Andrew Eisenberg 2024-06-11 12:00:21 -07:00
parent b808216778
commit 2fc7222394
No known key found for this signature in database
3 changed files with 7 additions and 3 deletions

4
lib/codeql.js generated
View file

@ -283,7 +283,9 @@ async function getCodeQLForCmd(cmd, checkVersion) {
else if (await util.codeQlVersionAtLeast(this, exports.CODEQL_VERSION_SUBLANGUAGE_FILE_COVERAGE)) {
extraArgs.push("--no-sublanguage-file-coverage");
}
const overwriteFlag = (0, tools_features_1.isSupportedToolsFeature)(await this.getVersion(), tools_features_1.ToolsFeature.ForceOverwite) ? "--force-overwrite" : "--overwrite";
const overwriteFlag = (0, tools_features_1.isSupportedToolsFeature)(await this.getVersion(), tools_features_1.ToolsFeature.ForceOverwite)
? "--force-overwrite"
: "--overwrite";
await runTool(cmd, [
"database",
"init",