Skip to content

Commit eb28791

Browse files
committed
Update powerShellAdditionalExePaths to match new schema
PowerShell/vscode-powershell#3978 (comment)
1 parent 78d38eb commit eb28791

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.devcontainer/devcontainer.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,10 @@
99
// Otherwise it loads it's own PSScriptAnalyzer assembly,
1010
// which prevents build.ps1 from using specific version of PSScriptAnalyzer
1111
"powershell.scriptAnalysis.enable": false,
12-
"powershell.powerShellAdditionalExePaths":[
13-
{
14-
"versionName": "latest",
15-
"exePath": "/opt/powershell/pwsh"
16-
}
17-
]
12+
"powershell.powerShellAdditionalExePaths": {
13+
"versionName": "latest",
14+
"exePath": "/opt/powershell/pwsh"
15+
}
1816
},
1917
"extensions": [
2018
"ms-vscode.powershell"

0 commit comments

Comments
 (0)