mirror of
https://github.com/beego/bee.git
synced 2024-11-22 10:10:53 +00:00
ERROR message is strange
Web cant't create directory "$GOPATH" $GOPATH/src is correct
This commit is contained in:
parent
e23253bc23
commit
361eb4d235
2
new.go
2
new.go
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user