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