We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2a311d commit bc0f1d7Copy full SHA for bc0f1d7
src/extension/common.ts
@@ -40,10 +40,11 @@ export function resolveBinary() {
40
}
41
42
export async function testBinaryExist(command: string) {
43
+ const _command = /\s/.test(command.trim()) ? `"${command}"` : command
44
const uris = workspace.workspaceFolders?.map(i => i.uri?.fsPath) ?? []
45
return new Promise(r => {
46
execFile(
- command,
47
+ _command,
48
['-h'],
49
{
50
// for windows
0 commit comments