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 185eb7d commit a829e07Copy full SHA for a829e07
packages/cli/src/libs/upgrade.ts
@@ -26,7 +26,8 @@ export const upgrade = async() => {
26
]).then((answers) => {
27
const confirmed = answers.confirmed
28
if (confirmed) {
29
- runCmdSync(`npm install ${pkgJson.name}@${newVersion} -g`)
+ runCmdSync(`npm install ${pkgJson.name}@${newVersion} -g`);
30
+ console.log(pc.green(`✓ 成功升级到 v${newVersion}`));
31
} else {
32
console.log('canceled')
33
process.exit(0)
0 commit comments