mirror of
https://github.com/beego/bee.git
synced 2024-11-24 23:30:55 +00:00
Merge branch 'master' of github.com:astaxie/bee
This commit is contained in:
commit
10576797a3
4
new.go
4
new.go
@ -56,9 +56,9 @@ func createApp(cmd *Command, args []string) {
|
|||||||
|
|
||||||
wgopath := path.SplitList(gopath)
|
wgopath := path.SplitList(gopath)
|
||||||
for _, wg := range wgopath {
|
for _, wg := range wgopath {
|
||||||
wg = path.Join(wg, "src")
|
wg, _ = path.EvalSymlinks(path.Join(wg, "src"))
|
||||||
|
|
||||||
if path.HasPrefix(strings.ToLower(curpath), strings.ToLower(wg)) {
|
if strings.HasPrefix(strings.ToLower(curpath), strings.ToLower(wg)) {
|
||||||
haspath = true
|
haspath = true
|
||||||
appsrcpath = wg
|
appsrcpath = wg
|
||||||
break
|
break
|
||||||
|
Loading…
Reference in New Issue
Block a user