#323: Removes the check if the current path is a Beego project

This commit is contained in:
Faissal Elamraoui
2016-11-21 15:23:08 +01:00
parent ac935ad4e0
commit e39dc9fb7f
4 changed files with 7 additions and 14 deletions

4
run.go
View File

@ -76,7 +76,7 @@ func runApp(cmd *Command, args []string) int {
appname = path.Base(currpath)
currentGoPath = _gopath
} else {
logger.Fatalf("No Beego application '%s' found in your GOPATH", currpath)
logger.Fatalf("No application '%s' found in your GOPATH", currpath)
}
} else {
// Check if passed Bee application path/name exists in the GOPATH(s)
@ -85,7 +85,7 @@ func runApp(cmd *Command, args []string) int {
currentGoPath = _gopath
appname = path.Base(currpath)
} else {
logger.Fatalf("No Beego application '%s' found in your GOPATH", args[0])
logger.Fatalf("No application '%s' found in your GOPATH", args[0])
}
if strings.HasSuffix(appname, ".go") && isExist(currpath) {