mirror of
https://github.com/pointfreeco/swift-composable-architecture.git
synced 2025-12-20 09:11:33 +01:00
Run swift-format
This commit is contained in:
committed by
GitHub Actions
parent
2f92610ceb
commit
e4447bfac8
@@ -109,10 +109,12 @@ extension Reducer {
|
||||
return .concatenate(
|
||||
.fireAndForget {
|
||||
debugEnvironment.queue.async {
|
||||
let actionOutput = actionFormat == .prettyPrint
|
||||
let actionOutput =
|
||||
actionFormat == .prettyPrint
|
||||
? debugOutput(localAction).indent(by: 2)
|
||||
: debugCaseOutput(localAction).indent(by: 2)
|
||||
let stateOutput = LocalState.self == Void.self
|
||||
let stateOutput =
|
||||
LocalState.self == Void.self
|
||||
? ""
|
||||
: debugDiff(previousState, nextState).map { "\($0)\n" } ?? " (No state changes)\n"
|
||||
debugEnvironment.printer(
|
||||
|
||||
Reference in New Issue
Block a user