Skip to content

Commit a659a95

Browse files
mirichmodaxian-dbw
authored andcommitted
Fixing the plugin install directory to refect the current version (PowerShell#2539)
1 parent 025a3a6 commit a659a95

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/powershell-native/Install-PowerShellRemoting.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ else
142142
Write-Verbose "Using PowerShell Version: $targetPsVersion" -Verbose
143143
}
144144

145-
$pluginBasePath = Join-Path "$env:WINDIR\System32\PowerShell" $powerShellVersion
145+
$pluginBasePath = Join-Path "$env:WINDIR\System32\PowerShell" $targetPsVersion
146146

147147
$resolvedPluginAbsolutePath = ""
148148
if (! (Test-Path $pluginBasePath))

0 commit comments

Comments
 (0)