1
0
mirror of https://github.com/beego/bee.git synced 2024-11-21 23:50:54 +00:00

Merge pull request #794 from jianzhiyao/patch-1

fix command "bee fix -t 2"
This commit is contained in:
Ming Deng 2021-08-05 18:32:44 +08:00 committed by GitHub
commit bdeabd3b70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ import (
func fix1To2() int { func fix1To2() int {
beeLogger.Log.Info("Upgrading the application...") beeLogger.Log.Info("Upgrading the application...")
cmdStr := `go get -u github.com/beego/beego/v2@develop` cmdStr := `go get -u github.com/beego/beego/v2@master`
err := runShell(cmdStr) err := runShell(cmdStr)
if err != nil { if err != nil {
beeLogger.Log.Error(err.Error()) beeLogger.Log.Error(err.Error())