From a41f7b47cd47768561798ded9dc26d3da5679012 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 24 Oct 2025 18:31:48 -0500 Subject: s/ENV/env/ but ENV really is better here --- compare.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'compare.go') 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") -- cgit v1.2.3