Fix status reporting error on Windows
This commit is contained in:
parent
ff8b365e79
commit
6dd9baf8be
4 changed files with 4 additions and 3 deletions
2
lib/codeql.js
generated
2
lib/codeql.js
generated
|
|
@ -394,7 +394,7 @@ async function getCodeQLForCmd(cmd, checkVersion) {
|
|||
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;
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue