Browse Source

Only show update message in production

master
Leo Lamprecht 8 years ago
parent
commit
516ad204c0
No known key found for this signature in database GPG Key ID: B08517883D5E0E10
  1. 2
      bin/now.js

2
bin/now.js

@ -26,7 +26,7 @@ if (nodeVersion.major < 6) {
}
// Only check for updates in the npm version
if (!process.pkg) {
if (!process.pkg && pkg.dist) {
updateNotifier({pkg}).notify()
}

Loading…
Cancel
Save