debug
This commit is contained in:
parent
db8c33a526
commit
060a6a49eb
1 changed files with 3 additions and 3 deletions
|
@ -31,9 +31,9 @@ func Which(cmd string, options BasicOptions) (dir string, err error) {
|
||||||
command.Dir = options.Cwd
|
command.Dir = options.Cwd
|
||||||
}
|
}
|
||||||
|
|
||||||
for k, v := range options.Env {
|
//for k, v := range options.Env {
|
||||||
command.Env = append(command.Env, fmt.Sprintf("%s=%s", k, v))
|
// command.Env = append(command.Env, fmt.Sprintf("%s=%s", k, v))
|
||||||
}
|
//}
|
||||||
|
|
||||||
outputBytes, err := command.Output()
|
outputBytes, err := command.Output()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in a new issue