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 }