Skip to content

Commit b418f47

Browse files
authored
Don't try to parse output of codeql pack add as JSON (#3323)
1 parent f2eea40 commit b418f47

File tree

1 file changed

+1
-4
lines changed
  • extensions/ql-vscode/src/codeql-cli

1 file changed

+1
-4
lines changed

extensions/ql-vscode/src/codeql-cli/cli.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1384,13 +1384,10 @@ export class CodeQLCliServer implements Disposable {
13841384
async packAdd(dir: string, queryLanguage: QueryLanguage) {
13851385
const args = ["--dir", dir];
13861386
args.push(`codeql/${queryLanguage}-all`);
1387-
return this.runJsonCodeQlCliCommandWithAuthentication(
1387+
return this.runCodeQlCliCommand(
13881388
["pack", "add"],
13891389
args,
13901390
`Adding and installing ${queryLanguage} pack dependency.`,
1391-
{
1392-
addFormat: false,
1393-
},
13941391
);
13951392
}
13961393

0 commit comments

Comments
 (0)