fix: preserve Windows Node shim detection

This commit is contained in:
Zoltan Kochan
2026-11-03 15:09:03 +01:00
parent a5f174cfd1
commit fffe7742ec
3 changed files with 6 additions and 2 deletions
+4
View File
@@ -460,3 +460,7 @@ jobs:
if ($LASTEXITCODE -ne 0 -or $actual -ne $env:EXPECTED_VERSION) {
throw "Expected $env:EXPECTED_VERSION via bin_dest, got $actual"
}
$pnpx = Get-Command pnpx -ErrorAction Stop
if ((Split-Path -Parent $pnpx.Source) -ne $env:BIN_DEST) {
throw "pnpx resolves to $($pnpx.Source), expected under $env:BIN_DEST"
}