mirror of
https://github.com/beego/bee.git
synced 2025-09-17 13:12:09 +00:00
Delete the environment variable judgment
This commit is contained in:
@@ -81,15 +81,6 @@ func GenerateCode(cmd *commands.Command, args []string) int {
|
||||
beeLogger.Log.Fatal("Command is missing")
|
||||
}
|
||||
|
||||
//gps := utils.GetGOPATHs()
|
||||
//if len(gps) == 0 {
|
||||
// beeLogger.Log.Fatal("GOPATH environment variable is not set or empty")
|
||||
//}
|
||||
//
|
||||
//gopath := gps[0]
|
||||
//
|
||||
//beeLogger.Log.Debugf("GOPATH: %s", utils.FILE(), utils.LINE(), gopath)
|
||||
|
||||
gcmd := args[0]
|
||||
switch gcmd {
|
||||
case "scaffold":
|
||||
|
Reference in New Issue
Block a user