diff --git a/cmd/which.go b/cmd/which.go index 755bf6e..f7afd16 100644 --- a/cmd/which.go +++ b/cmd/which.go @@ -31,9 +31,9 @@ func Which(cmd string, options BasicOptions) (dir string, err error) { command.Dir = options.Cwd } - for k, v := range options.Env { - command.Env = append(command.Env, fmt.Sprintf("%s=%s", k, v)) - } + //for k, v := range options.Env { + // command.Env = append(command.Env, fmt.Sprintf("%s=%s", k, v)) + //} outputBytes, err := command.Output() if err != nil {