File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,9 @@ export async function testBinaryExist(command: string) {
53
53
[ '-h' ] ,
54
54
{
55
55
// for windows
56
- shell : process . platform === 'win32' && ! command . endsWith ( '.exe' ) ,
56
+ shell :
57
+ process . platform === 'win32' &&
58
+ ! command . toLowerCase ( ) . endsWith ( '.exe' ) ,
57
59
cwd : uris [ 0 ] ,
58
60
} ,
59
61
err => {
Original file line number Diff line number Diff line change @@ -142,7 +142,8 @@ export function buildCommand(query: SearchQuery) {
142
142
// TODO: multi-workspaces support
143
143
return spawn ( normalizedCommand , args , {
144
144
// for windows
145
- shell : process . platform === 'win32' && ! command . endsWith ( '.exe' ) ,
145
+ shell :
146
+ process . platform === 'win32' && ! command . toLowerCase ( ) . endsWith ( '.exe' ) ,
146
147
cwd : uris [ 0 ] ,
147
148
} )
148
149
}
You can’t perform that action at this time.
0 commit comments