From 4e6ff3fcf5f8a1ce57941fededb3bf8243308c09 Mon Sep 17 00:00:00 2001 From: asoseil Date: Thu, 14 Dec 2017 23:37:38 +0100 Subject: [PATCH] double tools removed --- realize/projects.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/realize/projects.go b/realize/projects.go index 60a8684..1000b6b 100644 --- a/realize/projects.go +++ b/realize/projects.go @@ -190,7 +190,6 @@ func (p *Project) Reload(path string, stop <-chan bool) { if err != nil { p.Err(err) } - p.tools(stop, path, fi) // path dir if !fi.IsDir() { path := filepath.Dir(path) @@ -198,8 +197,8 @@ func (p *Project) Reload(path string, stop <-chan bool) { if err != nil { p.Err(err) } - p.tools(stop, path, fi) } + p.tools(stop, path, fi) } // Prevent fake events on polling startup p.init = true