IsValid() became IsValidDir()

This commit is contained in:
Jeff Carr 2024-12-17 01:55:09 -06:00
parent 232477808f
commit e8de69e5a9
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ func clone(gopath string) (*gitpb.Repo, error) {
// pb, _ := forge.NewGoPath(gopath) // pb, _ := forge.NewGoPath(gopath)
check := forge.Repos.FindByGoPath(gopath) check := forge.Repos.FindByGoPath(gopath)
if check != nil { if check != nil {
if check.IsValid() { if check.IsValidDir() {
// repo already exists and is valid // repo already exists and is valid
return check, nil return check, nil
} }