diff options
| author | Jeff Carr <[email protected]> | 2025-10-21 06:40:33 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-21 06:40:33 -0500 |
| commit | 46aae682f88cd9171e81d536d85436c2b6cfc469 (patch) | |
| tree | 7cf3dec84ef4342c1ca09e5a4a7b7a09e92133bd /doNewUser.go | |
| parent | 9941532f439ac9774803db3328b66b158654efaf (diff) | |
use lib/ENV
Diffstat (limited to 'doNewUser.go')
| -rw-r--r-- | doNewUser.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doNewUser.go b/doNewUser.go index bba0a1e..f1ee259 100644 --- a/doNewUser.go +++ b/doNewUser.go @@ -10,7 +10,7 @@ import ( "fmt" "path/filepath" - "go.wit.com/lib/config" + "go.wit.com/lib/ENV" "go.wit.com/lib/fhelp" "go.wit.com/lib/protobuf/forgepb" "go.wit.com/log" @@ -40,7 +40,7 @@ func doNewUser() (string, error) { log.Info("") log.Info(string(pfile)) - gosrc := filepath.Join(config.Get("homedir"), "go/src") + gosrc := filepath.Join(ENV.Get("homedir"), "go/src") s = fmt.Sprintf("Scan %s for .git repos", gosrc) if fhelp.QuestionUser(s) { me.forge.ScanRepoDir(gosrc) // looks for new dirs, checks existing repos for changes |
