From 7b4f0639d861d104c67817e1f47816fa5e80b07d Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 24 Oct 2025 18:30:50 -0500 Subject: s/ENV/env/ but ENV really is better here --- doPatch.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doPatch.go') diff --git a/doPatch.go b/doPatch.go index 3e82cd1..3a3a688 100644 --- a/doPatch.go +++ b/doPatch.go @@ -13,7 +13,7 @@ import ( "regexp" "strings" - "go.wit.com/lib/ENV" + "go.wit.com/lib/env" "go.wit.com/lib/fhelp" "go.wit.com/lib/protobuf/forgepb" "go.wit.com/lib/protobuf/gitpb" @@ -38,7 +38,7 @@ func isPatchingSafe() bool { func doPatch() (string, error) { // var changed bool me.curpatches = forgepb.NewPatches() - me.curpatches.Filename = ENV.Get("curpatches") + me.curpatches.Filename = env.Get("curpatches") if me.curpatches.Filename == "" { panic("config failed. no 'curpatches' set in ~/.config/forge/config.text") } @@ -50,7 +50,7 @@ func doPatch() (string, error) { // return // // THIS IS NEEDED? NOTSURE me.curpatches = forgepb.NewPatches() - me.curpatches.Filename = ENV.Get("curpatches") + me.curpatches.Filename = env.Get("curpatches") me.curpatches.Save() } -- cgit v1.2.3