chore: prepare to change to tailwindcss

This commit is contained in:
Elysia
2026-01-30 19:53:46 +08:00
parent 5f89436106
commit 0002c2f9e1
5 changed files with 8 additions and 11 deletions

View File

@@ -12,16 +12,8 @@ if [[ "$1" != "apm" ]]; then
exit 1
fi
# 检查 apm 命令是否存在
if ! command -v apm &>/dev/null; then
echo "apm 命令未找到,请确保已安装 APM 环境"
exit 127
fi
# 执行 apm 命令(跳过第一个参数 "apm"
output=$(/usr/bin/apm "${@:2}" 2>&1)
/usr/bin/apm "${@:2}" 2>&1
exit_code=$?
echo "$output"
exit $exit_code