Skip to content

Commit

Permalink
fix: bin/edam updateNotify
Browse files Browse the repository at this point in the history
  • Loading branch information
imcuttle committed Mar 30, 2018
1 parent ff2cc90 commit ad6a3e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/edam/bin/edam.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,10 @@ ${generateFlagHelp(flags, ' ')}
})
.then(function () {
if (config.updateNotify) {
updateNotify({ pkg })
const notifier = updateNotify({ pkg })
const upt = updateNotify.update
if (upt) {
updateNotify.notify({
notifier.notify({
message:
'Update available ' +
c.dim(upt.current) +
Expand Down

0 comments on commit ad6a3e3

Please sign in to comment.