Fix formatting
This commit is contained in:
parent
b808216778
commit
2fc7222394
3 changed files with 7 additions and 3 deletions
4
lib/codeql.js
generated
4
lib/codeql.js
generated
|
|
@ -283,7 +283,9 @@ async function getCodeQLForCmd(cmd, checkVersion) {
|
||||||
else if (await util.codeQlVersionAtLeast(this, exports.CODEQL_VERSION_SUBLANGUAGE_FILE_COVERAGE)) {
|
else if (await util.codeQlVersionAtLeast(this, exports.CODEQL_VERSION_SUBLANGUAGE_FILE_COVERAGE)) {
|
||||||
extraArgs.push("--no-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, [
|
await runTool(cmd, [
|
||||||
"database",
|
"database",
|
||||||
"init",
|
"init",
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -615,7 +615,9 @@ export async function getCodeQLForCmd(
|
||||||
const overwriteFlag = isSupportedToolsFeature(
|
const overwriteFlag = isSupportedToolsFeature(
|
||||||
await this.getVersion(),
|
await this.getVersion(),
|
||||||
ToolsFeature.ForceOverwite,
|
ToolsFeature.ForceOverwite,
|
||||||
) ? "--force-overwrite" : "--overwrite";
|
)
|
||||||
|
? "--force-overwrite"
|
||||||
|
: "--overwrite";
|
||||||
|
|
||||||
await runTool(
|
await runTool(
|
||||||
cmd,
|
cmd,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue