tools fixed

This commit is contained in:
asoseil 2017-12-16 17:43:34 +01:00
parent 142a561a93
commit 141a892a97
1 changed files with 0 additions and 8 deletions

View File

@ -190,14 +190,6 @@ func (p *Project) Reload(path string, stop <-chan bool) {
if err != nil { if err != nil {
p.Err(err) p.Err(err)
} }
// path dir
if !fi.IsDir() {
path := filepath.Dir(path)
fi, err = os.Stat(path)
if err != nil {
p.Err(err)
}
}
p.tools(stop, path, fi) p.tools(stop, path, fi)
} }
// Prevent fake events on polling startup // Prevent fake events on polling startup