This commit is contained in:
asoseil 2017-11-28 18:30:14 +01:00
parent 3f131e3817
commit d389e5b387
2 changed files with 2 additions and 2 deletions

View File

@ -154,7 +154,7 @@ func (t *Tool) Compile(path string, stop <-chan bool) (response Response) {
if t.Dir != "" {
cmd.Dir, _ = filepath.Abs(t.Dir)
} else {
cmd.Dir = filepath.Dir(path)
cmd.Dir = path
}
cmd.Stdout = &out
cmd.Stderr = &stderr

View File

@ -90,4 +90,4 @@ func isHidden(path string) bool {
}
}
return false
}
}