diff --git a/Sources/VergeMacrosPlugin/WriterMacro.swift b/Sources/VergeMacrosPlugin/WriterMacro.swift index 3c05f102af..7feccb6c52 100644 --- a/Sources/VergeMacrosPlugin/WriterMacro.swift +++ b/Sources/VergeMacrosPlugin/WriterMacro.swift @@ -118,16 +118,16 @@ extension WriterMacro: ExtensionMacro { """ as DeclSyntax) return [ - modifyingDecl.formatted( - using: .init( - indentationWidth: .spaces(2), - initialIndentation: [], - viewMode: .fixedUp + modifyingDecl + .formatted( + using: .init( + indentationWidth: .spaces(2), + initialIndentation: [], + viewMode: .fixedUp + ) ) - ), - ].map { - $0.cast(ExtensionDeclSyntax.self) - } + .cast(ExtensionDeclSyntax.self) + ] }