Skip to content

Commit 9ef5eab

Browse files
committed
Use npx.cmd in install.ps1 to ensure the command resolves correctly on Windows
├── install.ps1 └── install.sh
1 parent 02d7318 commit 9ef5eab

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎install.ps1‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,13 @@ $null = Invoke-Step "Cloning repository..." {
107107
Set-Location $extractedDir
108108

109109
$null = Invoke-Step "Installing dependencies..." {
110-
npx --yes pnpm install *>$null
110+
npx.cmd --yes pnpm install *>$null
111111
} "Failed to install dependencies."
112112

113113
Set-Location apps/editor
114114

115115
$null = Invoke-Step "Building extension..." {
116-
npx --yes pnpm run build *>$null
116+
npx.cmd --yes pnpm run build *>$null
117117
} "Build failed."
118118

119119
$vsixFile = Get-ChildItem *.vsix -ErrorAction SilentlyContinue | Select-Object -First 1

0 commit comments

Comments
 (0)