mirror of
https://github.com/github/codeql-action.git
synced 2026-01-04 05:30:16 +08:00
Merge branch 'main' into henrymercer/prompt-v1-to-v2-upgrades
This commit is contained in:
@@ -641,7 +641,7 @@ async function getCodeQLForCmd(
|
||||
async getVersion() {
|
||||
let result = util.getCachedCodeQlVersion();
|
||||
if (result === undefined) {
|
||||
result = await runTool(cmd, ["version", "--format=terse"]);
|
||||
result = (await runTool(cmd, ["version", "--format=terse"])).trim();
|
||||
util.cacheCodeQlVersion(result);
|
||||
}
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user