Skip to content

Commit 1226540

Browse files
msftrncsTravisEz13
authored andcommitted
Quote arguments in .vscode/tasks.json in case of spaces (PowerShell#10204)
1 parent d2e81db commit 1226540

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.vscode/tasks.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,19 +41,19 @@
4141
{
4242
"label": "Bootstrap",
4343
"type": "shell",
44-
"command": "Import-Module ${workspaceFolder}/build.psm1; Start-PSBootstrap",
44+
"command": "Import-Module '${workspaceFolder}/build.psm1'; Start-PSBootstrap",
4545
"problemMatcher": []
4646
},
4747
{
4848
"label": "Clean Build",
4949
"type": "shell",
50-
"command": "Import-Module ${workspaceFolder}/build.psm1; Start-PSBuild -Clean -Output (Join-Path ${workspaceFolder} debug)",
50+
"command": "Import-Module '${workspaceFolder}/build.psm1'; Start-PSBuild -Clean -Output (Join-Path '${workspaceFolder}' debug)",
5151
"problemMatcher": "$msCompile"
5252
},
5353
{
5454
"label": "Build",
5555
"type": "shell",
56-
"command": "Import-Module ${workspaceFolder}/build.psm1; Start-PSBuild -Output (Join-Path ${workspaceFolder} debug)",
56+
"command": "Import-Module '${workspaceFolder}/build.psm1'; Start-PSBuild -Output (Join-Path '${workspaceFolder}' debug)",
5757
"group": {
5858
"kind": "build",
5959
"isDefault": true

0 commit comments

Comments
 (0)