From 060a6a49ebe1d0c28bb5a8a93baaeac4ddcdf6a7 Mon Sep 17 00:00:00 2001 From: Shane C Date: Wed, 10 Jul 2024 21:42:20 -0400 Subject: [PATCH] debug --- cmd/which.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 {