From 4f96aa28d6db62d0205b58cd32226f456fd382e6 Mon Sep 17 00:00:00 2001 From: asoseil Date: Fri, 29 Dec 2017 19:36:48 +0100 Subject: [PATCH] ineffassign fixed --- realize/projects.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/realize/projects.go b/realize/projects.go index 6c9fd9a..1033f29 100644 --- a/realize/projects.go +++ b/realize/projects.go @@ -224,7 +224,6 @@ func (p *Project) Reload(path string, stop <-chan bool) { return } if install.Err == nil && build.Err == nil && p.Tools.Run.Status { - var start time.Time result := make(chan Response) go func() { for { @@ -247,7 +246,6 @@ func (p *Project) Reload(path string, stop <-chan bool) { }() go func() { log.Println(p.pname(p.Name, 1), ":", "Running..") - start = time.Now() err := p.run(p.Path, result, stop) if err != nil { msg := fmt.Sprintln(p.pname(p.Name, 2), ":", Red.Regular(err))