mirror of
https://github.com/github/codeql-action.git
synced 2026-04-05 11:12:16 +00:00
Merge remote-tracking branch 'origin/main' into henrymercer/run-atm-on-windows
This commit is contained in:
6
lib/codeql.js
generated
6
lib/codeql.js
generated
@@ -647,8 +647,9 @@ async function getCodeQLForCmd(cmd, checkVersion) {
|
||||
"pack",
|
||||
"download",
|
||||
"--format=json",
|
||||
"--resolve-query-specs",
|
||||
...getExtraOptionsFromEnv(["pack", "download"]),
|
||||
...packs.map(packWithVersionToString),
|
||||
...packs,
|
||||
];
|
||||
const output = await runTool(cmd, codeqlArgs);
|
||||
try {
|
||||
@@ -704,9 +705,6 @@ async function getCodeQLForCmd(cmd, checkVersion) {
|
||||
}
|
||||
return codeql;
|
||||
}
|
||||
function packWithVersionToString(pack) {
|
||||
return pack.version ? `${pack.packName}@${pack.version}` : pack.packName;
|
||||
}
|
||||
/**
|
||||
* Gets the options for `path` of `options` as an array of extra option strings.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user