This commit is contained in:
Shane C 2024-07-10 21:37:45 -04:00
parent 751d90c840
commit 6cbbe69223
Signed by: shane
GPG key ID: E46B5FEA35B22FF9

View file

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