diff --git a/bin/now.js b/bin/now.js index 543c2fb13d7..8c3a6aae146 100755 --- a/bin/now.js +++ b/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() }