Update npm global

This commit is contained in:
Tw93
2023-06-28 15:32:18 +08:00
parent d99c146877
commit c4e9b16862
2 changed files with 2 additions and 2 deletions

View File

@@ -2,5 +2,5 @@ import updateNotifier from 'update-notifier';
import packageJson from '../../package.json';
export async function checkUpdateTips() {
updateNotifier({ pkg: packageJson, updateCheckInterval: 1000 * 60 }).notify();
updateNotifier({ pkg: packageJson, updateCheckInterval: 1000 * 60 }).notify({ isGlobal: true });
}