From 7a6a5a2582f2926a1a9f806b113bc4a54d4a34f5 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 26 Sep 2025 02:18:31 -0500 Subject: [PATCH] remove ENV stuff --- go-clone-test/main.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/go-clone-test/main.go b/go-clone-test/main.go index 464b4e3..80d5064 100644 --- a/go-clone-test/main.go +++ b/go-clone-test/main.go @@ -67,8 +67,6 @@ func fullRun(testDir string) { testDir = "goclonetest" os.Mkdir(testDir, 0755) os.Chdir(testDir) - os.Unsetenv("FORGE_CONFIG") - os.Unsetenv("FORGE_GOSRC") me.forge = forgepb.Init() wd := filepath.Join(me.startPwd, testDir) @@ -102,16 +100,12 @@ func prepBinary(testDir string, gopath string) { // switching GOSRC paths in the middle of doing things? It probably // shouldn't be supported or work the way it does. which, in this // case, breaks this test app - os.Unsetenv("FORGE_CONFIG") - os.Unsetenv("FORGE_GOSRC") runStrict(wd, []string{"sync"}) runStrict(wd, []string{"/home/jcarr/go/bin/go-clone", "--recursive", gopath, "--work", "--ignore"}) // runStrict(wd, []string{"/home/jcarr/go/bin/go-clone", "--work"}) } func buildBinary(testDir string, gopath string) { - os.Unsetenv("FORGE_CONFIG") - os.Unsetenv("FORGE_GOSRC") me.forge = forgepb.Init() if err := me.forge.ConfigSave(); err != nil { log.Info("crapnuts. forge.ConfigSave() failed", err)