We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3bdc74 commit cabc0f0Copy full SHA for cabc0f0
bin/npm-cli.js
@@ -83,9 +83,11 @@
83
) {
84
const pkg = require('../package.json')
85
let notifier = require('update-notifier')({pkg})
86
+ const isCI = require('ci-info').isCI
87
if (
88
notifier.update &&
- notifier.update.latest !== pkg.version
89
+ notifier.update.latest !== pkg.version &&
90
+ !isCI
91
92
const color = require('ansicolors')
93
const useColor = npm.config.get('color')
0 commit comments