diff options
| -rw-r--r-- | doForce.go | 2 | ||||
| -rw-r--r-- | doSmart.go | 2 | ||||
| -rw-r--r-- | doStrict.go | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -11,7 +11,7 @@ import ( // thsi will clean out everything and start over func doForce(repo *gitpb.Repo) error { // var perfect bool = true - 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") @@ -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") diff --git a/doStrict.go b/doStrict.go index 51a50d9..39192bd 100644 --- a/doStrict.go +++ b/doStrict.go @@ -8,7 +8,7 @@ import ( ) func doStrict(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") |
