mirror of
https://github.com/beego/bee.git
synced 2024-12-22 20:20:49 +00:00
fix the beego version
This commit is contained in:
parent
4bc70441d2
commit
08ff1c91ef
@ -43,7 +43,7 @@ func versionCmd(cmd *Command, args []string) int {
|
||||
|
||||
func getbeegoVersion() string {
|
||||
gopath := os.Getenv("GOPATH")
|
||||
re, err := regexp.Compile(`const VERSION = "([0-9.]+)"`)
|
||||
re, err := regexp.Compile(`VERSION = "([0-9.]+)"`)
|
||||
if err != nil {
|
||||
return ""
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user