Call codeql.exe rather than codeql.cmd wrapper on Windows

This commit is contained in:
Nick Rolfe 2020-06-23 13:56:20 +01:00 committed by Nick Rolfe
parent 8e098cbb87
commit 852d99d8e2
2 changed files with 2 additions and 2 deletions

2
lib/setup-tools.js generated
View file

@ -20,7 +20,7 @@ class CodeQLSetup {
if (process.platform === 'win32') {
this.platform = 'win64';
if (this.cmd.endsWith('codeql')) {
this.cmd += ".cmd";
this.cmd += ".exe";
}
}
else if (process.platform === 'linux') {

View file

@ -17,7 +17,7 @@ export class CodeQLSetup {
if (process.platform === 'win32') {
this.platform = 'win64';
if (this.cmd.endsWith('codeql')) {
this.cmd += ".cmd";
this.cmd += ".exe";
}
} else if (process.platform === 'linux') {
this.platform = 'linux64';