diff --git a/scripts/Start-EditorServices.ps1 b/scripts/Start-EditorServices.ps1 index 0cd349789a..47717a0543 100644 --- a/scripts/Start-EditorServices.ps1 +++ b/scripts/Start-EditorServices.ps1 @@ -181,7 +181,7 @@ function Get-AvailablePort { # Add BundledModulesPath to $env:PSModulePath if ($BundledModulesPath) { - $env:PSMODULEPATH = $env:PSMODULEPATH + [System.IO.Path]::PathSeparator + $BundledModulesPath + $env:PSModulePath = $env:PSModulePath + [System.IO.Path]::PathSeparator + $BundledModulesPath } # Check if PowerShellGet module is available