summaryrefslogtreecommitdiff
path: root/doForce.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-17 07:03:07 -0600
committerJeff Carr <[email protected]>2024-12-17 07:03:07 -0600
commit62ad7e676cdb9c3618e74d9b0293718c083d6d62 (patch)
tree63493de7a12d21d7fb9244d4c7cd4263a7950fe1 /doForce.go
parentc9f1624a72e1cf43dd32f878e56ff4e3c57ef5e6 (diff)
fixes for new gitpb
Diffstat (limited to 'doForce.go')
-rw-r--r--doForce.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/doForce.go b/doForce.go
index 9c9b58f..7dc326d 100644
--- a/doForce.go
+++ b/doForce.go
@@ -12,13 +12,13 @@ import (
func doForce(repo *gitpb.Repo) error {
// var perfect bool = true
if !repo.IsValidDir() {
- log.Info(repo.GoPath, "is invalid. fix your repos.pb file with 'forge' first")
+ log.Info(repo.GetGoPath(), "is invalid. fix your repos.pb file with 'forge' first")
log.Info("")
log.Info("go install go.wit.com/apps/forge@latest")
log.Info("")
- return errors.New(repo.GoPath + " is invalid. fix your repository list with 'forge' first")
+ return errors.New(repo.GetGoPath() + " is invalid. fix your repository list with 'forge' first")
}
- log.Info(repo.GoPath, "is valid according to forge")
+ log.Info(repo.GetGoPath(), "is valid according to forge")
// purge the git meta-data if --force
repo.Run([]string{"git", "notes", "remove"})