From 751d90c8405397b50ff3e537969c2c606708cc39 Mon Sep 17 00:00:00 2001 From: Shane C Date: Wed, 10 Jul 2024 21:36:57 -0400 Subject: [PATCH] debug --- cmd/which.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/which.go b/cmd/which.go index 168abdd..c13f1b5 100644 --- a/cmd/which.go +++ b/cmd/which.go @@ -17,6 +17,9 @@ type BasicOptions struct { func Which(cmd string, options BasicOptions) (dir string, err error) { + fmt.Println(options.Env) + fmt.Println(options.Sources) + var sourceCommand strings.Builder for _, value := range options.Sources { sourceCommand.WriteString(fmt.Sprintf("source %s && ", value))