Browse Source

Enable registry check.

Renée Kooi 6 năm trước cách đây
mục cha
commit
246b7a5169
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      bin/release

+ 1 - 1
bin/release

@@ -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 ""