fix(install): preserve pnpm version errors

This commit is contained in:
Turtle
2026-07-30 17:54:48 +08:00
parent aaf8fd07e0
commit 83ae7046f2
+1 -1
View File
@@ -186,7 +186,7 @@ fi
# pnpm is the only dependency we offer to install for you.
if command -v pnpm >/dev/null 2>&1; then
info "pnpm $(pnpm --version 2>/dev/null) ... ok"
info "pnpm $(pnpm --version) ... ok"
else
warn "pnpm is not installed."
if confirm "Install pnpm now?" Y; then