From 6cbbe692236f9a4aa3d708ef9a92ad0a9a3bf2e6 Mon Sep 17 00:00:00 2001 From: Shane C Date: Wed, 10 Jul 2024 21:37:45 -0400 Subject: [PATCH] debug --- cmd/which.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/which.go b/cmd/which.go index c13f1b5..7a65145 100644 --- a/cmd/which.go +++ b/cmd/which.go @@ -47,6 +47,8 @@ func Which(cmd string, options BasicOptions) (dir string, err error) { } } + fmt.Println(string(outputBytes)) + return strings.Trim(string(outputBytes), "\n"), nil }