Skip to content

Commit

Permalink
fix(pnpm): update pnpm install scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
johnlindquist committed Oct 11, 2024
1 parent 3bdf8b3 commit 29d65d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/pnpm.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ if ($platform -ne 'win') {
chmod +x $tempFile
}

$KIT_PNPM_HOME = Join-Path $env:USERPROFILE ".kitpnpm"
$KIT_PNPM_HOME = Join-Path $env:USERPROFILE ".kit"
$env:KIT_PNPM_HOME = $KIT_PNPM_HOME

$targetDir = $KIT_PNPM_HOME
Expand Down
2 changes: 1 addition & 1 deletion scripts/pnpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ download_and_install() {
cp "${current_location}" "${new_exec_path}"
}

copy_cli "$tmp_dir/pnpm" "${KIT_PNPM_HOME:-$HOME/.kitpnpm}" || return 1
copy_cli "$tmp_dir/pnpm" "${KIT_PNPM_HOME:-$HOME/.kit}" || return 1
}

download_and_install || abort "Install Error!"

0 comments on commit 29d65d2

Please sign in to comment.