From e8de69e5a9fe98b5b234dbc345378c987040e46c Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 17 Dec 2024 01:55:09 -0600 Subject: [PATCH] IsValid() became IsValidDir() --- clone.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clone.go b/clone.go index e0ee77e..d821f63 100644 --- a/clone.go +++ b/clone.go @@ -22,7 +22,7 @@ func clone(gopath string) (*gitpb.Repo, error) { // pb, _ := forge.NewGoPath(gopath) check := forge.Repos.FindByGoPath(gopath) if check != nil { - if check.IsValid() { + if check.IsValidDir() { // repo already exists and is valid return check, nil }