修复run.sh
This commit is contained in:
4
run.sh
4
run.sh
@@ -66,7 +66,8 @@ if [ ! -f "todos.json" ]; then
|
|||||||
printf "${YELLOW}已创建初始数据文<EFBFBD><EFBFBD>?todos.json${NC}\n"
|
printf "${YELLOW}已创建初始数据文<EFBFBD><EFBFBD>?todos.json${NC}\n"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# 检查包管理<E7AEA1><E79086>?if command -v pnpm >/dev/null 2>&1; then
|
# 检查包管理<E7AEA1><E79086>?
|
||||||
|
if command -v pnpm >/dev/null 2>&1; then
|
||||||
PM="pnpm"
|
PM="pnpm"
|
||||||
else
|
else
|
||||||
PM="npm"
|
PM="npm"
|
||||||
@@ -109,3 +110,4 @@ case "$1" in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user