diff options
| author | Jeff Carr <[email protected]> | 2025-10-24 18:31:48 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-24 18:31:48 -0500 |
| commit | a41f7b47cd47768561798ded9dc26d3da5679012 (patch) | |
| tree | 6a464a20a3e0e4b2b7177e3053873ff2820688b0 | |
| parent | 04973910239ee90161a38a4b5244b4c9e90e4b1a (diff) | |
s/ENV/env/ but ENV really is better herev0.0.172
| -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") |
