修复cron日志显示

This commit is contained in:
whyour committed 2021-04-10 19:50:52 +08:00
1 parent f9c299cfbe
commit 9a1891c909
3 files changed
+36 -10

No files matched your search

+1 -1
View File
@@ -105,7 +105,7 @@ function Npm_InstallSub() {
npm install --no-save --registry=https://registry.npm.taobao.org || npm install --no-save
else
echo -e "检测到本机安装了 yarn,使用 yarn 替代 npm...\n"
yarn install --registry=https://registry.npm.taobao.org || yarn install
yarn install --registry=https://registry.npm.taobao.org --network-timeout 1000000000 || yarn install
fi
}