Skip to content

Commit

Permalink
fix: remove unnecessary ctx.Err() check (#4)
Browse files Browse the repository at this point in the history
* improve coverage for bridge

* remove unnecessary code
  • Loading branch information
bradfair authored Jan 21, 2024
1 parent 175fbb6 commit fcae3ac
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions bridge.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ func bridgeInputStream[Input any](ctx context.Context, inputs <-chan Input, out
if !ok {
return
}
if ctx.Err() != nil {
return
}
out <- val
}
}
Expand Down

0 comments on commit fcae3ac

Please sign in to comment.