From c9f1624a72e1cf43dd32f878e56ff4e3c57ef5e6 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 17 Dec 2024 01:55:37 -0600 Subject: I changed IsValid() to IsValidDir() --- doSmart.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doSmart.go') diff --git a/doSmart.go b/doSmart.go index 46c3d1d..f5588bf 100644 --- a/doSmart.go +++ b/doSmart.go @@ -10,7 +10,7 @@ import ( // this will make go.mod and go.sum files, but you have to // have the files in .gitignore for now func doSmart(repo *gitpb.Repo) error { - if !repo.IsValid() { + if !repo.IsValidDir() { log.Info(repo.GoPath, "is invalid. fix your repos.pb file with 'forge' first") log.Info("") log.Info("go install go.wit.com/apps/forge@latest") -- cgit v1.2.3