Skip to content

Commit 20a4e0a

Browse files
authored
Merge pull request #211 from github/codeql.exe
Use codeql.exe instead of codeql.cmd on Windows
2 parents 07f6846 + 9f34d67 commit 20a4e0a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

extensions/ql-vscode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
"scope": "machine",
8686
"type": "string",
8787
"default": "",
88-
"description": "Path to the CodeQL executable that should be used by the CodeQL extension. The executable is named `codeql` on Linux/Mac and `codeql.cmd` on Windows. This overrides all other CodeQL CLI settings."
88+
"description": "Path to the CodeQL executable that should be used by the CodeQL extension. The executable is named `codeql` on Linux/Mac and `codeql.exe` on Windows. This overrides all other CodeQL CLI settings."
8989
},
9090
"codeQL.runningQueries.numberOfThreads": {
9191
"type": "integer",

extensions/ql-vscode/src/distribution.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ export function versionCompare(a: Version, b: Version): number {
502502
}
503503

504504
function codeQlLauncherName(): string {
505-
return (os.platform() === "win32") ? "codeql.cmd" : "codeql";
505+
return (os.platform() === "win32") ? "codeql.exe" : "codeql";
506506
}
507507

508508
function isRedirectStatusCode(statusCode: number): boolean {

0 commit comments

Comments
 (0)