summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-18 03:34:43 -0600
committerJeff Carr <[email protected]>2024-12-18 03:34:43 -0600
commitb80b7baa2d512d7949e3ac8697fa0d34ed96b38f (patch)
tree9b134243c376acbfcfe78ac2b7240df1f3b3356a
parentd3f8613bd8943b0fcfb324a1f01d928fd1ef7fcf (diff)
wrong lookupv0.7.5
-rw-r--r--clone.go2
1 files changed, 1 insertions, 1 deletions
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