Skip to content

Commit

Permalink
Fixed update notifier
Browse files Browse the repository at this point in the history
  • Loading branch information
explodingcamera committed May 5, 2016
1 parent bbec3db commit 6c63b0a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions start.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ function checkForUpdates() {
pkg,
updateCheckInterval: 0
});

if(notifier) {
if(notifier.update) {
var message = '\n' + boxen('Update available ' + chalk.dim(notifier.update.current) + chalk.reset(' → ') + chalk.green(notifier.update.latest), {
padding: 1,
margin: 1,
Expand Down

0 comments on commit 6c63b0a

Please sign in to comment.