Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

Commit

Permalink
chore: 提示更新命令加yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
dream2023 committed Jan 30, 2020
1 parent 029647c commit 1dcb559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion start.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function updateCheck () {

if (notifier.update) {
message.push('Update available: ' + chalk.green.bold(notifier.update.latest) + chalk.gray(' (current: ' + notifier.update.current + ');'))
message.push('Run ' + chalk.magenta('npm install -g ' + pkg.name) + ' to update.')
message.push('Run ' + chalk.magenta('npm install -g ' + pkg.name) + ' Or ' + chalk.magenta('yarn global add ' + pkg.name) + ' to update.')
console.log(message.join('\r\n'))
}
}
Expand Down

0 comments on commit 1dcb559

Please sign in to comment.