(webui): disable yarn 3 telemetry (#2874)

This commit is contained in:
Christoph Stenglein 2022-01-14 20:53:10 +01:00 committed by GitHub
parent 2fb7fb9496
commit 33ed2af24a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,6 +49,7 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
/home/admin/config.scripts/bonus.nodejs.sh on
source <(/home/admin/config.scripts/bonus.nodejs.sh info)
sudo npm install --global yarn
${NODEPATH}/yarn config set --home enableTelemetry 0
${NODEPATH}/yarn install
${NODEPATH}/yarn build