From b80b7baa2d512d7949e3ac8697fa0d34ed96b38f Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 18 Dec 2024 03:34:43 -0600 Subject: [PATCH] wrong lookup --- clone.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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