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) {
5353 [ '-h' ] ,
5454 {
5555 // for windows
56- shell : process . platform === 'win32' && ! command . endsWith ( '.exe' ) ,
56+ shell :
57+ process . platform === 'win32' &&
58+ ! command . toLowerCase ( ) . endsWith ( '.exe' ) ,
5759 cwd : uris [ 0 ] ,
5860 } ,
5961 err => {
Original file line number Diff line number Diff line change @@ -142,7 +142,8 @@ export function buildCommand(query: SearchQuery) {
142142 // TODO: multi-workspaces support
143143 return spawn ( normalizedCommand , args , {
144144 // for windows
145- shell : process . platform === 'win32' && ! command . endsWith ( '.exe' ) ,
145+ shell :
146+ process . platform === 'win32' && ! command . toLowerCase ( ) . endsWith ( '.exe' ) ,
146147 cwd : uris [ 0 ] ,
147148 } )
148149}
You can’t perform that action at this time.
0 commit comments