diff options
Diffstat (limited to 'clone.go')
| -rw-r--r-- | clone.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -7,7 +7,7 @@ import ( "path/filepath" "strings" - "go.wit.com/lib/ENV" + "go.wit.com/lib/env" "go.wit.com/lib/protobuf/gitpb" "go.wit.com/log" ) @@ -69,7 +69,7 @@ func clone(gopath string) (*gitpb.Repo, error) { gopath = CleanRepoURL(gopath) os.Setenv("REPO_AUTO_CLONE", "true") // pb, _ := me.forge.NewGoPath(gopath) - check := me.forge.FindAnyPath(filepath.Join(ENV.Get("gopath"), gopath)) + check := me.forge.FindAnyPath(filepath.Join(env.Get("gopath"), gopath)) if check != nil { if check.IsValidDir() { // repo already exists and is valid |
