Skip to content

Commit 53a3116

Browse files
committed
Fix main version printed by update
1 parent 9ab8c36 commit 53a3116

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/commands/update/index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ async function action (params) {
6868
if (!isWin) {
6969
await chmod(filename, exe)
7070
}
71-
let ver = channel === 'main' ? `main-${version}` : version
72-
console.error(`Upgrading Begin to ${ver}`)
71+
console.error(`Upgrading Begin to ${version}`)
7372
console.error(`Updated ${filename}`)
7473
resolve('Successfully upgraded Begin!')
7574
}

0 commit comments

Comments
 (0)