probably wrong
This commit is contained in:
parent
5c156fa55e
commit
8a8f287a81
2
main.go
2
main.go
|
@ -82,7 +82,7 @@ func findPwdRepo() *gitpb.Repo {
|
|||
gopath := strings.TrimPrefix(pwd, forge.GetGoSrc())
|
||||
gopath = strings.Trim(gopath, "/")
|
||||
log.Info("findRepo() trying gopath", gopath)
|
||||
check = forge.Repos.FindByFullPath(pwd)
|
||||
check = forge.FindByGoPath(gopath)
|
||||
if check != nil {
|
||||
log.Info("findRepo() worked", check.GetGoPath())
|
||||
return check
|
||||
|
|
Loading…
Reference in New Issue