Skip to content

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
sethvargo committed Aug 22, 2017
1 parent 993739e commit 5ec239a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions manager/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -951,10 +951,7 @@ func (r *Runner) allTemplatesRendered() bool {

for _, tmpl := range r.templates {
event, rendered := r.renderEvents[tmpl.ID()]
if !rendered {
return false
}
if !event.DidRender {
if !rendered || !event.DidRender {
return false
}
}
Expand Down

0 comments on commit 5ec239a

Please sign in to comment.