From fcc7aa71fdb95ac7e5ea2f2258b23fd5cbb38a24 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Wed, 9 Jan 2019 14:08:40 +0800 Subject: [PATCH] chore: fix golint error. (#50) --- plugin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.go b/plugin.go index 2834a21..079409c 100644 --- a/plugin.go +++ b/plugin.go @@ -180,7 +180,7 @@ func (p *Plugin) runJobs() { }(j) } - for _ = range p.jobs { + for range p.jobs { r := <-results if r.err != nil { fmt.Printf("ERROR: failed to %s %s to %s: %+v\n", r.j.action, r.j.local, r.j.remote, r.err)