From 27419cef770c272b4f029e3703bced39b90e0844 Mon Sep 17 00:00:00 2001 From: Matejkob Date: Wed, 26 Jun 2024 09:03:23 +0000 Subject: [PATCH] Run swift-format --- .../Factories/VariablesImplementationFactory.swift | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Sources/SpyableMacro/Factories/VariablesImplementationFactory.swift b/Sources/SpyableMacro/Factories/VariablesImplementationFactory.swift index 402ec73..157324d 100644 --- a/Sources/SpyableMacro/Factories/VariablesImplementationFactory.swift +++ b/Sources/SpyableMacro/Factories/VariablesImplementationFactory.swift @@ -57,10 +57,11 @@ struct VariablesImplementationFactory { var name: String? var name: String! */ - if binding.typeAnnotation?.type.is(OptionalTypeSyntax.self) == true || - binding.typeAnnotation?.type.is(ImplicitlyUnwrappedOptionalTypeSyntax.self) == true { + if binding.typeAnnotation?.type.is(OptionalTypeSyntax.self) == true + || binding.typeAnnotation?.type.is(ImplicitlyUnwrappedOptionalTypeSyntax.self) == true + { accessorRemovalVisitor.visit(protocolVariableDeclaration) - /* + /* var name: String */ } else {