Skip to content

Commit

Permalink
Drop stray postRun == nil check
Browse files Browse the repository at this point in the history
  • Loading branch information
jbouwman committed Sep 8, 2021
1 parent 33b7631 commit 9e5e502
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,6 @@ func EmitResponse(run Function, req *Request, re ResponseEmitter, env Environmen
postRunCh = make(chan error)
)

if postRun == nil {
close(postRunCh)
return postRunCh
}

// check if we have a formatter for this emitter type
typer, isTyper := lowest.(interface {
Type() PostRunType
Expand Down

0 comments on commit 9e5e502

Please sign in to comment.