mirror of
https://github.com/github/codeql-action.git
synced 2025-12-31 11:40:24 +08:00
Run the pack download command
This commit is contained in:
@@ -760,7 +760,7 @@ function getCodeQLForCmd(cmd: string): CodeQL {
|
||||
await new toolrunner.ToolRunner(cmd, args, {
|
||||
listeners: {
|
||||
stdout: (data: Buffer) => {
|
||||
output += data.toString("utf8");
|
||||
output += data.toString();
|
||||
},
|
||||
},
|
||||
}).exec();
|
||||
@@ -781,7 +781,7 @@ function getCodeQLForCmd(cmd: string): CodeQL {
|
||||
const args = [
|
||||
"pack",
|
||||
"download",
|
||||
"-v",
|
||||
"--format=json",
|
||||
...getExtraOptionsFromEnv(["pack", "download"]),
|
||||
...packs.map(packWithVersionToString),
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user