1
0
mirror of https://github.com/beego/bee.git synced 2024-12-22 15:10:49 +00:00

Merge pull request #113 from shinriyo/patch-1

ERROR message is strange
This commit is contained in:
astaxie 2015-05-14 17:49:58 +08:00
commit 4cecebb2bb

2
new.go
View File

@ -93,7 +93,7 @@ func createApp(cmd *Command, args []string) int {
}
if !haspath {
ColorLog("[ERRO] Unable to create an application outside of $GOPATH(%s)\n", gopath)
ColorLog("[ERRO] Unable to create an application outside of $GOPATH%ssrc(%s%ssrc)\n", string(path.Separator), gopath, string(path.Separator)
ColorLog("[HINT] Change your work directory by `cd ($GOPATH%ssrc)`\n", string(path.Separator))
os.Exit(2)
}