mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Fixing the plugin install directory to refect the current version (#2539)
This commit is contained in:
committed by
Dongbo Wang
parent
025a3a6d9b
commit
a659a95a00
@@ -142,7 +142,7 @@ else
|
||||
Write-Verbose "Using PowerShell Version: $targetPsVersion" -Verbose
|
||||
}
|
||||
|
||||
$pluginBasePath = Join-Path "$env:WINDIR\System32\PowerShell" $powerShellVersion
|
||||
$pluginBasePath = Join-Path "$env:WINDIR\System32\PowerShell" $targetPsVersion
|
||||
|
||||
$resolvedPluginAbsolutePath = ""
|
||||
if (! (Test-Path $pluginBasePath))
|
||||
|
||||
Reference in New Issue
Block a user