wrong lookup

This commit is contained in:
Jeff Carr 2024-12-18 03:34:43 -06:00
parent d3f8613bd8
commit b80b7baa2d
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ func clone(gopath string) (*gitpb.Repo, error) {
} }
os.Setenv("REPO_AUTO_CLONE", "true") os.Setenv("REPO_AUTO_CLONE", "true")
// pb, _ := forge.NewGoPath(gopath) // pb, _ := forge.NewGoPath(gopath)
check := forge.Repos.FindByFullPath(gopath) check := forge.FindByGoPath(gopath)
if check != nil { if check != nil {
if check.IsValidDir() { if check.IsValidDir() {
// repo already exists and is valid // repo already exists and is valid