We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16823a1 commit d025084Copy full SHA for d025084
powershell-adapter/psDscAdapter/win_psDscAdapter.psm1
@@ -711,7 +711,8 @@ function Set-ValidPSModulePath {
711
end {
712
if (($env:PSModulePath -split [System.IO.Path]::PathSeparator) -contains '') {
713
"Removing empty entry from PSModulePath: '$env:PSModulePath'" | Write-DscTrace -Operation Debug
714
- $env:PSModulePath = ($env:PSModulePath -split [System.IO.Path]::PathSeparator | Where-Object { $_ -ne '' }) -join [System.IO.Path]::PathSeparator
+ $env:PSModulePath = ($env:PSModulePath -split [System.IO.Path]::PathSeparator |
715
+ Where-Object { $_ -ne '' }) -join [System.IO.Path]::PathSeparator
716
}
717
718
0 commit comments