mirror of
https://github.com/pnpm/action-setup
synced 2026-11-07 21:17:57 +01:00
fix: preserve Windows Node shim detection
This commit is contained in:
3 files changed
+6
-2
No files matched your search
@@ -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"
|
||||
}
|
||||
Reference in new issue
Block a user