chore: fix golint error. (#50)

This commit is contained in:
Bo-Yi Wu 2019-01-09 14:08:40 +08:00 committed by GitHub
parent 5ecd3598fa
commit fcc7aa71fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -180,7 +180,7 @@ func (p *Plugin) runJobs() {
}(j) }(j)
} }
for _ = range p.jobs { for range p.jobs {
r := <-results r := <-results
if r.err != nil { 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) fmt.Printf("ERROR: failed to %s %s to %s: %+v\n", r.j.action, r.j.local, r.j.remote, r.err)