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
This commit is contained in:
Elena Tanasoiu
2023-02-15 12:00:00 +00:00
committed by GitHub

View File

@@ -1227,10 +1227,12 @@ export class CodeQLCliServer implements Disposable {
async packAdd(dir: string, queryLanguage: QueryLanguage) {
const args = ["--dir", dir];
args.push(`codeql/${queryLanguage}-all`);
const addFormat = false;
return this.runJsonCodeQlCliCommandWithAuthentication(
["pack", "add"],
args,
`Adding and installing ${queryLanguage} pack dependency.`,
addFormat,
);
}