summaryrefslogtreecommitdiff
path: root/init.go
diff options
context:
space:
mode:
Diffstat (limited to 'init.go')
-rw-r--r--init.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/init.go b/init.go
index bab2d6d..731737a 100644
--- a/init.go
+++ b/init.go
@@ -93,6 +93,8 @@ func DetermineGoPath() *Forge {
os.Setenv("FORGE_CONFIG", fullpath)
}
+ f.configDir = os.Getenv("FORGE_CONFIG")
+
// check again for go.work // user could have a go.work file in ~/go/src
if f.goWorkExists() {
f.goWork = true