Skip to content

Commit dcd8911

Browse files
committed
fix: stop saying there's another update required!
1 parent 4589bc8 commit dcd8911

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bin/nodemon.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ var fs = require('fs');
1111
// checks for available update and returns an instance
1212
var pkg = JSON.parse(fs.readFileSync(__dirname + '/../package.json'));
1313

14-
require('update-notifier')({
15-
pkg: Object.assign(pkg, { version: '0.0.0' }),
16-
}).notify();
14+
if (pkg.version.indexOf('0.0.0') !== 0) {
15+
require('update-notifier')({ pkg }).notify();
16+
}

0 commit comments

Comments
 (0)