Skip to content

Commit

Permalink
fix(cli-core): disable update notifier
Browse files Browse the repository at this point in the history
  • Loading branch information
Romakita committed Aug 29, 2024
1 parent 806cd17 commit 9f16b47
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/cli-core/src/CliCore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,11 @@ export class CliCore {
injector.settings.set("loaded", true);
}

// eslint-disable-next-line require-await
static async updateNotifier(pkg: any) {
const {default: updateNotifier} = await import("update-notifier");

updateNotifier({pkg, updateCheckInterval: 0}).notify();
// const {default: updateNotifier} = await import("update-notifier");
//
// updateNotifier({pkg, updateCheckInterval: 0}).notify();

return this;
}
Expand Down

0 comments on commit 9f16b47

Please sign in to comment.