summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-24 18:31:48 -0500
committerJeff Carr <[email protected]>2025-10-24 18:31:48 -0500
commita41f7b47cd47768561798ded9dc26d3da5679012 (patch)
tree6a464a20a3e0e4b2b7177e3053873ff2820688b0
parent04973910239ee90161a38a4b5244b4c9e90e4b1a (diff)
s/ENV/env/ but ENV really is better herev0.0.172
-rw-r--r--compare.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/compare.go b/compare.go
index 6380eb7..9e0d6b3 100644
--- a/compare.go
+++ b/compare.go
@@ -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")