We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7c3ac5 commit 0d30d63Copy full SHA for 0d30d63
cli.js
@@ -2,6 +2,8 @@
2
'use strict';
3
const meow = require('meow');
4
const logSymbols = require('log-symbols');
5
+const updateNotifier = require('update-notifier');
6
+const pkg = require('./package.json');
7
8
const errorNotifier = require('./error-notifier');
9
@@ -51,6 +53,8 @@ const cli = meow(`
51
53
}
52
54
});
55
56
+updateNotifier({pkg}).notify();
57
+
58
if (cli.input.length !== 1) {
59
console.log(`\n${logSymbols.error} Invalid input. Please check the help below:`);
60
cli.showHelp(2);
0 commit comments