mirror of
https://github.com/casbin/bee.git
synced 2025-07-17 17:24:19 +08:00
#323: Removes the check if the current path is a Beego project
This commit is contained in:
@ -124,7 +124,7 @@ func getGoVersion() string {
|
||||
)
|
||||
|
||||
if cmdOut, err = exec.Command("go", "version").Output(); err != nil {
|
||||
logger.Fatalf("There was an error running go version command: %s", err)
|
||||
logger.Fatalf("There was an error running 'go version' command: %s", err)
|
||||
}
|
||||
return strings.Split(string(cmdOut), " ")[2]
|
||||
}
|
||||
|
Reference in New Issue
Block a user