Skip to content

Commit 167c86c

Browse files
authored
Merge pull request #381 from PowerShell/daviwil/psmodulepath
Change order of BundledModulesPath in PSModulePath
2 parents f8332d0 + 4f70a62 commit 167c86c

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
@@ -133,7 +133,7 @@ function Get-AvailablePort {
133133

134134
# Add BundledModulesPath to $env:PSModulePath
135135
if ($BundledModulesPath) {
136-
$env:PSMODULEPATH = $BundledModulesPath + [System.IO.Path]::PathSeparator + $env:PSMODULEPATH
136+
$env:PSMODULEPATH = $env:PSMODULEPATH + [System.IO.Path]::PathSeparator + $BundledModulesPath
137137
}
138138

139139
# Check if PowerShellGet module is available

0 commit comments

Comments
 (0)