diff options
Diffstat (limited to 'compare.go')
| -rw-r--r-- | compare.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -3,8 +3,8 @@ package gitpb import ( "strings" - "go.wit.com/lib/ENV" "go.wit.com/lib/config" + "go.wit.com/lib/env" "go.wit.com/log" ) @@ -163,12 +163,12 @@ func (repo *Repo) SafeDelete(deleteHash string, keepHash string) error { log.Printf("%-13.13s %-55.55s %v %s\n", "CMD OK", repo.FullPath, cmd1, "") log.Printf("%-13.13s %-55.55s %v %s\n", "CMD OK", repo.FullPath, cmd2, "") log.Printf("%-13.13s %-55.55s %v %s\n", "SAFE TO DELETE", repo.FullPath, cmd, "add --fix") - if ENV.Get("Fix") == "true" { + if env.Get("Fix") == "true" { err := repo.RunVerbose(cmd) if err != nil { log.Info(deleteHash, repo.FullPath) s := "local user branch could not be deleted" - ENV.BadExit(s, err) + env.BadExit(s, err) } } return config.ErrdKeyFalse("Fix") |
