Enable registry check.

This commit is contained in:
Renée Kooi 2018-10-29 13:52:24 +01:00
parent fb3d48a197
commit 246b7a5169
No known key found for this signature in database
GPG key ID: 8CDD5F0BC448F040

View file

@ -17,7 +17,7 @@ if [[ ! "$@" =~ -y ]]; then
read
fi
if [[ ! "$(npm get registry)" =~ https://registry\.npmjs\.(com|org)/? ]] && false; then
if [[ ! "$(npm get registry)" =~ https://registry\.npmjs\.(com|org)/? ]]; then
echo "Found unexpected npm registry: $(npm get registry)"
echo "Run this to fix:"
echo ""