debug
This commit is contained in:
parent
060a6a49eb
commit
8a7fdf0f43
1 changed files with 2 additions and 0 deletions
|
@ -25,6 +25,8 @@ func Which(cmd string, options BasicOptions) (dir string, err error) {
|
||||||
sourceCommand.WriteString(fmt.Sprintf("source %s && ", value))
|
sourceCommand.WriteString(fmt.Sprintf("source %s && ", value))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fmt.Println(cmd)
|
||||||
|
|
||||||
command := exec.Command("/bin/bash", "-c", "which", cmd)
|
command := exec.Command("/bin/bash", "-c", "which", cmd)
|
||||||
|
|
||||||
if options.Cwd != "" {
|
if options.Cwd != "" {
|
||||||
|
|
Loading…
Reference in a new issue