diff --git a/packages/vscode-extension/src/workspace.ts b/packages/vscode-extension/src/workspace.ts index bb7729c..8f22e6d 100644 --- a/packages/vscode-extension/src/workspace.ts +++ b/packages/vscode-extension/src/workspace.ts @@ -176,11 +176,10 @@ export class Workspace { } try { - let globalBin = ""; + let globalBin = ''; if (process.platform === 'win32') { - globalBin = execa.sync('cmd', ['/c','where','moon']).stdout; - } - else{ + globalBin = execa.sync('cmd', ['/c', 'where', 'moon']).stdout; + } else { globalBin = execa.sync('which', ['moon']).stdout; }