Skip to content

Commit

Permalink
fix: stop saying there's another update required!
Browse files Browse the repository at this point in the history
  • Loading branch information
remy committed Dec 22, 2017
1 parent 4589bc8 commit dcd8911
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/nodemon.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ var fs = require('fs');
// checks for available update and returns an instance
var pkg = JSON.parse(fs.readFileSync(__dirname + '/../package.json'));

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

0 comments on commit dcd8911

Please sign in to comment.