Skip to content

Commit

Permalink
Run swift-format
Browse files Browse the repository at this point in the history
  • Loading branch information
stephencelis authored and github-actions[bot] committed Dec 15, 2023
1 parent 940f266 commit 25c9fe9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/DependenciesMacrosPlugin/DependencyClientMacro.swift
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ public enum DependencyClientMacro: MemberAttributeMacro, MemberMacro {
var accesses: Set<Access> = Access(modifiers: declaration.modifiers).map { [$0] } ?? []
for member in declaration.memberBlock.members {
guard var property = member.decl.as(VariableDeclSyntax.self) else { continue }
let isEndpoint = property.hasDependencyEndpointMacroAttached
let isEndpoint =
property.hasDependencyEndpointMacroAttached
|| property.bindingSpecifier.tokenKind != .keyword(.let) && property.isClosure
let propertyAccess = Access(modifiers: property.modifiers)
guard
Expand Down

0 comments on commit 25c9fe9

Please sign in to comment.