From 36a96d4551d31e37273ead6564f77a3cd03cf2cb Mon Sep 17 00:00:00 2001 From: sususu98 Date: Fri, 12 Dec 2025 11:04:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=8C=85=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E5=99=A8=E6=A3=80=E6=B5=8B=EF=BC=8Cinfo=20=E8=BE=93?= =?UTF-8?q?=E5=87=BA=E5=88=B0=20stderr?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.sh b/setup.sh index 509f43d..73fc97c 100755 --- a/setup.sh +++ b/setup.sh @@ -71,14 +71,14 @@ command_exists() { get_package_manager() { if command_exists node; then local node_version=$(node --version 2>/dev/null | sed 's/v//') - info "检测到 Node.js v$node_version" + info "检测到 Node.js v$node_version" >&2 echo "npm" return 0 fi if command_exists bun; then local bun_version=$(bun --version 2>/dev/null) - info "检测到 Bun v$bun_version" + info "检测到 Bun v$bun_version" >&2 echo "bun" return 0 fi