We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4589bc8 commit dcd8911Copy full SHA for dcd8911
bin/nodemon.js
@@ -11,6 +11,6 @@ var fs = require('fs');
11
// checks for available update and returns an instance
12
var pkg = JSON.parse(fs.readFileSync(__dirname + '/../package.json'));
13
14
-require('update-notifier')({
15
- pkg: Object.assign(pkg, { version: '0.0.0' }),
16
-}).notify();
+if (pkg.version.indexOf('0.0.0') !== 0) {
+ require('update-notifier')({ pkg }).notify();
+}
0 commit comments