diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/npm-cli.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/npm-cli.js b/bin/npm-cli.js index 55fa054d6..8c8fa8031 100755 --- a/bin/npm-cli.js +++ b/bin/npm-cli.js @@ -16,11 +16,15 @@ process.title = 'npm' + var unsupported = require('../lib/utils/unsupported.js') + unsupported.checkForBrokenNode() + var log = require('npmlog') log.pause() // will be unpaused when config is loaded. - log.info('it worked if it ends with', 'ok') + unsupported.checkForUnsupportedNode() + var path = require('path') var npm = require('../lib/npm.js') var npmconf = require('../lib/config/core.js') |