Skip to content

Commit

Permalink
feat(cli): don't notify of updates when run in npm scripts by default
Browse files Browse the repository at this point in the history
  • Loading branch information
rafamel committed Apr 20, 2021
1 parent 700ce5c commit 4e4d542
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export async function cli(options?: CLI.Options): Promise<void> {
notifier({
pkg: { name: update.name, version: update.version },
distTag: update.tag,
shouldNotifyInNpmScript: true,
shouldNotifyInNpmScript: false,
updateCheckInterval: 1000 * 60 * 60 * 24
}).notify({
defer: false,
Expand Down

0 comments on commit 4e4d542

Please sign in to comment.