summaryrefslogtreecommitdiff
path: root/doSmart.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-17 01:55:37 -0600
committerJeff Carr <[email protected]>2024-12-17 01:55:37 -0600
commitc9f1624a72e1cf43dd32f878e56ff4e3c57ef5e6 (patch)
treec92b655f70a5fa7771be52eb74f93514c624e5f1 /doSmart.go
parent849378a95f334017f86f1675d35306f6fcc3e3bf (diff)
I changed IsValid() to IsValidDir()
Diffstat (limited to 'doSmart.go')
-rw-r--r--doSmart.go2
1 files changed, 1 insertions, 1 deletions
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")