Skip to content

Commit d62a098

Browse files
authored
Merge pull request #665 from daviwil/fix-662
Fix extension startup on Linux/macOS with PS 6 Alpha 18
2 parents 054f712 + 1fbd1c1 commit d62a098

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/Start-EditorServices.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ function Get-AvailablePort {
181181

182182
# Add BundledModulesPath to $env:PSModulePath
183183
if ($BundledModulesPath) {
184-
$env:PSMODULEPATH = $env:PSMODULEPATH + [System.IO.Path]::PathSeparator + $BundledModulesPath
184+
$env:PSModulePath = $env:PSModulePath + [System.IO.Path]::PathSeparator + $BundledModulesPath
185185
}
186186

187187
# Check if PowerShellGet module is available

0 commit comments

Comments
 (0)