Skip to content

Commit 6d2856a

Browse files
committed
Fix VS Code tasks.json for Linux and macOS
1 parent 447f967 commit 6d2856a

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.vscode/tasks.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,20 @@
22
"version": "0.1.0",
33

44
"windows": {
5-
"command": "${env.windir}\\sysnative\\windowspowershell\\v1.0\\PowerShell.exe"
5+
"command": "${env.windir}\\sysnative\\windowspowershell\\v1.0\\PowerShell.exe",
6+
"args": [ "-NoProfile", "-ExecutionPolicy", "Bypass" ]
67
},
78
"linux": {
8-
"command": "/usr/bin/powershell"
9+
"command": "/usr/bin/powershell",
10+
"args": [ "-NoProfile" ]
911
},
1012
"osx": {
11-
"command": "/usr/local/bin/powershell"
13+
"command": "/usr/local/bin/powershell",
14+
"args": [ "-NoProfile" ]
1215
},
1316

1417
"isShellCommand": true,
1518
"showOutput": "always",
16-
"args": [ "-NoProfile", "-ExecutionPolicy", "Bypass" ],
1719

1820
// Associate with test task runner
1921
"tasks": [

0 commit comments

Comments
 (0)