diff --git a/src/index.js b/src/index.js index 6649bc0..6b9b1a4 100644 --- a/src/index.js +++ b/src/index.js @@ -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