Call codeql.exe rather than codeql.cmd wrapper on Windows
This commit is contained in:
parent
8e098cbb87
commit
852d99d8e2
2 changed files with 2 additions and 2 deletions
2
lib/setup-tools.js
generated
2
lib/setup-tools.js
generated
|
|
@ -20,7 +20,7 @@ class CodeQLSetup {
|
||||||
if (process.platform === 'win32') {
|
if (process.platform === 'win32') {
|
||||||
this.platform = 'win64';
|
this.platform = 'win64';
|
||||||
if (this.cmd.endsWith('codeql')) {
|
if (this.cmd.endsWith('codeql')) {
|
||||||
this.cmd += ".cmd";
|
this.cmd += ".exe";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (process.platform === 'linux') {
|
else if (process.platform === 'linux') {
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ export class CodeQLSetup {
|
||||||
if (process.platform === 'win32') {
|
if (process.platform === 'win32') {
|
||||||
this.platform = 'win64';
|
this.platform = 'win64';
|
||||||
if (this.cmd.endsWith('codeql')) {
|
if (this.cmd.endsWith('codeql')) {
|
||||||
this.cmd += ".cmd";
|
this.cmd += ".exe";
|
||||||
}
|
}
|
||||||
} else if (process.platform === 'linux') {
|
} else if (process.platform === 'linux') {
|
||||||
this.platform = 'linux64';
|
this.platform = 'linux64';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue