Skip to content

Commit 72cd85c

Browse files
authored
Merge pull request #2 from SwiftRex/removeDebugOutput
Remove debug output
2 parents 322c9cf + d2817be commit 72cd85c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Sources/GatedMiddleware/GatedMiddleware.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,6 @@ public final class GatedMiddleware<M: MiddlewareProtocol>: MiddlewareProtocol {
198198
/// do anything in case the predicate is not satisfied, or it will forward the action to the inner middleware in case the predicate
199199
/// is true.
200200
public func handle(action: M.InputActionType, from dispatcher: ActionSource, state: @escaping GetState<M.StateType>) -> IO<M.OutputActionType> {
201-
print(action)
202-
dump(state())
203201
guard gate.shouldHandleAction(action, state()) else { return .pure() }
204202

205203
return middleware.handle(action: action, from: dispatcher, state: state)

0 commit comments

Comments
 (0)