Skip to content

Commit 86ec727

Browse files
authored
Merge pull request #664 from jpogran/gh-663-quote-workspace-path
(GH-663) Quote Workspace path
2 parents 61a7dd3 + e93bb7d commit 86ec727

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/helpers/commandHelper.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,8 @@ export class CommandEnvironmentHelper {
143143

144144
args.push('--timeout=' + settings.workspace.editorService.timeout);
145145
if (vscode.workspace.workspaceFolders !== undefined) {
146-
args.push('--local-workspace=' + vscode.workspace.workspaceFolders[0].uri.fsPath);
146+
const path = `--local-workspace='${vscode.workspace.workspaceFolders[0].uri.fsPath}'`;
147+
args.push(path);
147148
}
148149

149150
// Convert the individual puppet settings into the --puppet-settings

0 commit comments

Comments
 (0)