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
1 changed files with 1 additions and 1 deletions

View File

@ -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)