We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61a2903 commit 2affc13Copy full SHA for 2affc13
utils/check-update.js
@@ -32,9 +32,11 @@ async function checkUpdate() {
32
33
if (hasUpdate) {
34
spinner.error('Update available');
35
- log.text(`\n${logSymbols.warning} Please update framework7-cli to latest version before continue.`, true);
36
- log.text(`${logSymbols.warning} To update framework7-cli, run in terminal:`, true);
37
- log.text('\nnpm install framework7-cli -g\n', true);
+ log.text(
+ `\nPlease update framework7-cli to latest version before continue.\nTo update framework7-cli, run in terminal:`,
+ );
38
+ log.text('\n> npm install framework7-cli -g', true);
39
+ log.text('\nTo skip update check run the command with --skipUpdate flag\n', false, 'gray');
40
process.exit(1);
41
} else {
42
spinner.done('All good, you have latest framework7-cli version.');
0 commit comments