diff options
Diffstat (limited to 'doForce.go')
| -rw-r--r-- | doForce.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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"}) |
