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:
@@ -1227,10 +1227,12 @@ export class CodeQLCliServer implements Disposable {
|
|||||||
async packAdd(dir: string, queryLanguage: QueryLanguage) {
|
async packAdd(dir: string, queryLanguage: QueryLanguage) {
|
||||||
const args = ["--dir", dir];
|
const args = ["--dir", dir];
|
||||||
args.push(`codeql/${queryLanguage}-all`);
|
args.push(`codeql/${queryLanguage}-all`);
|
||||||
|
const addFormat = false;
|
||||||
return this.runJsonCodeQlCliCommandWithAuthentication(
|
return this.runJsonCodeQlCliCommandWithAuthentication(
|
||||||
["pack", "add"],
|
["pack", "add"],
|
||||||
args,
|
args,
|
||||||
`Adding and installing ${queryLanguage} pack dependency.`,
|
`Adding and installing ${queryLanguage} pack dependency.`,
|
||||||
|
addFormat,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user