Skip to content

Commit fa750ba

Browse files
committed
update
1 parent 91fc0ca commit fa750ba

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/index.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,13 @@ import updateNotifier from 'update-notifier';
55
import { printVersionCommand } from './utils/index.js';
66
import pkg from '../package.json';
77

8-
updateNotifier({ pkg }).notify({ isGlobal: true });
8+
updateNotifier({ pkg }).notify({
9+
isGlobal: true,
10+
message:
11+
'建议运行 `{updateCommand}` 来更新命令行工具以获得功能、性能和安全性的持续改进',
12+
});
913

10-
function printUsage({ args }) {
14+
function printUsage() {
1115
// const commandName = args[0];
1216
// TODO: print usage of commandName, or print global usage.
1317

0 commit comments

Comments
 (0)