修复cron日志显示

This commit is contained in:
whyour
2021-04-10 19:50:52 +08:00
parent f9c299cfbe
commit 9a1891c909
3 changed files with 36 additions and 10 deletions
+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
}