diff --git a/packages/vscode-extension/package.json b/packages/vscode-extension/package.json index 5ca6756..7eb5213 100644 --- a/packages/vscode-extension/package.json +++ b/packages/vscode-extension/package.json @@ -1,6 +1,6 @@ { "private": true, - "version": "0.14.0", + "version": "0.14.1", "name": "moon-console", "publisher": "moonrepo", "displayName": "moon console", diff --git a/packages/vscode-extension/src/workspace.ts b/packages/vscode-extension/src/workspace.ts index 8d5e269..849fcab 100644 --- a/packages/vscode-extension/src/workspace.ts +++ b/packages/vscode-extension/src/workspace.ts @@ -168,7 +168,7 @@ export class Workspace { binPath += '.exe'; } - if (!path.isAbsolute(binPath)) { + if (!path.isAbsolute(binPath) && !binPath.startsWith('~')) { binPath = path.join(this.root, binPath); }