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