Skip to content

Commit 9e5e502

Browse files
committed
Drop stray postRun == nil check
1 parent 33b7631 commit 9e5e502

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

executor.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,6 @@ func EmitResponse(run Function, req *Request, re ResponseEmitter, env Environmen
9595
postRunCh = make(chan error)
9696
)
9797

98-
if postRun == nil {
99-
close(postRunCh)
100-
return postRunCh
101-
}
102-
10398
// check if we have a formatter for this emitter type
10499
typer, isTyper := lowest.(interface {
105100
Type() PostRunType

0 commit comments

Comments
 (0)