Skip to content

Commit

Permalink
Call codeql.exe rather than codeql.cmd wrapper on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Rolfe authored and Nick Rolfe committed Jun 23, 2020
1 parent 8e098cb commit 852d99d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/setup-tools.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/setup-tools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit 852d99d

Please sign in to comment.