#130 fixed
This commit is contained in:
parent
3f131e3817
commit
d389e5b387
@ -154,7 +154,7 @@ func (t *Tool) Compile(path string, stop <-chan bool) (response Response) {
|
|||||||
if t.Dir != "" {
|
if t.Dir != "" {
|
||||||
cmd.Dir, _ = filepath.Abs(t.Dir)
|
cmd.Dir, _ = filepath.Abs(t.Dir)
|
||||||
} else {
|
} else {
|
||||||
cmd.Dir = filepath.Dir(path)
|
cmd.Dir = path
|
||||||
}
|
}
|
||||||
cmd.Stdout = &out
|
cmd.Stdout = &out
|
||||||
cmd.Stderr = &stderr
|
cmd.Stderr = &stderr
|
||||||
|
@ -90,4 +90,4 @@ func isHidden(path string) bool {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user