修复pnpm registry兼容

This commit is contained in:
whyour
2022-09-09 00:21:10 +08:00
parent 54d99a4954
commit 6b124bad89
2 changed files with 8 additions and 4 deletions
+3
View File
@@ -90,6 +90,9 @@ check_pm2() {
main() {
echo -e "=====> 开始检测"
npm i -g pnpm
pnpm setup &>/dev/null
source ~/.bashrc
pnpm install -g &>/dev/null
pnpm add -g pm2
copy_dep
check_ql