summaryrefslogtreecommitdiff
path: root/doPatch.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-21 06:40:33 -0500
committerJeff Carr <[email protected]>2025-10-21 06:40:33 -0500
commit46aae682f88cd9171e81d536d85436c2b6cfc469 (patch)
tree7cf3dec84ef4342c1ca09e5a4a7b7a09e92133bd /doPatch.go
parent9941532f439ac9774803db3328b66b158654efaf (diff)
use lib/ENV
Diffstat (limited to 'doPatch.go')
-rw-r--r--doPatch.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/doPatch.go b/doPatch.go
index 9d5cedc..3e82cd1 100644
--- a/doPatch.go
+++ b/doPatch.go
@@ -13,7 +13,7 @@ import (
"regexp"
"strings"
- "go.wit.com/lib/config"
+ "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 = config.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 = config.Get("curpatches")
+ me.curpatches.Filename = ENV.Get("curpatches")
me.curpatches.Save()
}