diff options
Diffstat (limited to 'bin/npm-cli.js')
-rwxr-xr-x | bin/npm-cli.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/npm-cli.js b/bin/npm-cli.js index 8c8fa8031..1f68099bf 100755 --- a/bin/npm-cli.js +++ b/bin/npm-cli.js @@ -25,6 +25,10 @@ unsupported.checkForUnsupportedNode() + var updater = require('update-notifier') + var pkg = require('../package.json') + updater({pkg: pkg}).notify({defer: true}) + var path = require('path') var npm = require('../lib/npm.js') var npmconf = require('../lib/config/core.js') |