diff options
Diffstat (limited to 'scripts/build-windows.ps1')
-rw-r--r-- | scripts/build-windows.ps1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build-windows.ps1 b/scripts/build-windows.ps1 index 99ea3d040..3c17d60ae 100644 --- a/scripts/build-windows.ps1 +++ b/scripts/build-windows.ps1 | |||
@@ -127,7 +127,7 @@ if ($EXPECTED_NPM_VERSION -ne $ACTUAL_NPM_VERSION) { | |||
127 | 127 | ||
128 | # Check pnpm version | 128 | # Check pnpm version |
129 | $EXPECTED_PNPM_VERSION = (Get-Content recipes\package.json | ConvertFrom-Json).engines.pnpm | 129 | $EXPECTED_PNPM_VERSION = (Get-Content recipes\package.json | ConvertFrom-Json).engines.pnpm |
130 | $ACTUAL_PNPM_VERSION = (pnpm --version) | 130 | $ACTUAL_PNPM_VERSION = (pnpm --version || true) # in case the pnpm executable itself is not present |
131 | if ($ACTUAL_PNPM_VERSION -ne $EXPECTED_PNPM_VERSION) { | 131 | if ($ACTUAL_PNPM_VERSION -ne $EXPECTED_PNPM_VERSION) { |
132 | npm i -gf pnpm@$EXPECTED_PNPM_VERSION | 132 | npm i -gf pnpm@$EXPECTED_PNPM_VERSION |
133 | } | 133 | } |