Skip to content

Commit 42043de

Browse files
authored
Merge pull request #214 from github/revert-211-codeql.exe
Revert "Use codeql.exe instead of codeql.cmd on Windows"
2 parents 16554ab + 0a01a7c commit 42043de

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.exe` 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.cmd` 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.exe" : "codeql";
505+
return (os.platform() === "win32") ? "codeql.cmd" : "codeql";
506506
}
507507

508508
function isRedirectStatusCode(statusCode: number): boolean {

0 commit comments

Comments
 (0)