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