Merge branch 'main' into henrymercer/prompt-v1-to-v2-upgrades
This commit is contained in:
commit
2bf00f719d
7 changed files with 12 additions and 7 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue