Skip to content

Commit

Permalink
Merge pull request #203 from maizzle/fix/update-notifier
Browse files Browse the repository at this point in the history
  • Loading branch information
cossssmin committed Apr 28, 2023
2 parents 8d63329 + 81fd625 commit 67660fe
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,12 @@ module.exports = () => {

await importCwd(bin).build(env)

updateNotifier({
pkg: importCwd(resolveCwd('@maizzle/framework/package.json')),
shouldNotifyInNpmScript: true,
}).notify()
try {
updateNotifier({
pkg: importCwd(resolveCwd('@maizzle/framework/package.json')),
shouldNotifyInNpmScript: true,
}).notify()
} catch {}
})

program
Expand Down

0 comments on commit 67660fe

Please sign in to comment.