Skip to content

Commit 1b81e86

Browse files
Merge pull request #2081 from github/shati-elena/do-not-send-format-option-for-packadd
Don't send `--format` option for `codeql pack add` command
2 parents c6ee20b + ef8aa14 commit 1b81e86

File tree

1 file changed

+2
-0
lines changed
  • extensions/ql-vscode/src

1 file changed

+2
-0
lines changed

extensions/ql-vscode/src/cli.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1227,10 +1227,12 @@ export class CodeQLCliServer implements Disposable {
12271227
async packAdd(dir: string, queryLanguage: QueryLanguage) {
12281228
const args = ["--dir", dir];
12291229
args.push(`codeql/${queryLanguage}-all`);
1230+
const addFormat = false;
12301231
return this.runJsonCodeQlCliCommandWithAuthentication(
12311232
["pack", "add"],
12321233
args,
12331234
`Adding and installing ${queryLanguage} pack dependency.`,
1235+
addFormat,
12341236
);
12351237
}
12361238

0 commit comments

Comments
 (0)