This commit is contained in:
Shane C 2024-07-10 21:48:37 -04:00
parent 3e5b7f99fc
commit f9e5426b1b
Signed by: shane
GPG key ID: E46B5FEA35B22FF9

View file

@ -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
}