From 9783b58167f7618cb86011156e741cbc6f4cc864 Mon Sep 17 00:00:00 2001 From: stephencelis Date: Wed, 29 Nov 2023 18:25:19 +0000 Subject: [PATCH] Run swift-format --- .../DependenciesMacrosPlugin/DependencyEndpointMacro.swift | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Sources/DependenciesMacrosPlugin/DependencyEndpointMacro.swift b/Sources/DependenciesMacrosPlugin/DependencyEndpointMacro.swift index 332d997d..a964b54c 100644 --- a/Sources/DependenciesMacrosPlugin/DependencyEndpointMacro.swift +++ b/Sources/DependenciesMacrosPlugin/DependencyEndpointMacro.swift @@ -160,9 +160,11 @@ public enum DependencyEndpointMacro: AccessorMacro, PeerMacro { parameters[i].secondName = TokenSyntax(stringLiteral: "p\(offset)") parameters[i].colon = parameters[i].colon ?? .colonToken(trailingTrivia: .space) } - let appliedParameters = parameters + let appliedParameters = + parameters .map { - guard let typed = $0.type.as(AttributedTypeSyntax.self), typed.specifier?.tokenKind == .keyword(.inout) + guard let typed = $0.type.as(AttributedTypeSyntax.self), + typed.specifier?.tokenKind == .keyword(.inout) else { return false } return true }