Merge branch 'main' into henrymercer/prompt-v1-to-v2-upgrades

This commit is contained in:
Henry Mercer 2022-04-28 14:17:36 +01:00 committed by GitHub
commit 2bf00f719d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 12 additions and 7 deletions

View file

@ -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;