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 71f31cc commit 1d30a2fCopy full SHA for 1d30a2f
docs/reference/schemas/config/functions/union.md
extensions/powershell/convert-resource.ps1
@@ -18,8 +18,7 @@ begin {
18
# Make sure the default path is Windows PowerShell is included
19
$winPsPath = "$env:windir\System32\WindowsPowerShell\v1.0\Modules"
20
if ($env:PSModulePath -notmatch [regex]::Escape($winPsPath)) {
21
- # Separator is already at the end
22
- $env:PSModulePath = $env:PSModulePath + $winPsPath
+ $env:PSModulePath = $env:PSModulePath + [System.IO.Path]::PathSeparator + $winPsPath
23
}
24
25
0 commit comments