Skip to content

Commit 000ed10

Browse files
authored
Fix formatting
1 parent f6bd3ef commit 000ed10

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Plugins/BridgeJS/Sources/BridgeJSCore/ExportSwift.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2530,7 +2530,8 @@ struct ClosureCodegen {
25302530
items: ClosureCaptureListSyntax {
25312531
#if canImport(SwiftSyntax602)
25322532
ClosureCaptureSyntax(
2533-
name: .identifier("", presence: .missing), initializer: InitializerClauseSyntax(
2533+
name: .identifier("", presence: .missing),
2534+
initializer: InitializerClauseSyntax(
25342535
equal: .equalToken(presence: .missing),
25352536
nil,
25362537
value: ExprSyntax("callback")

Plugins/BridgeJS/Sources/BridgeJSCore/ImportTS.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ enum SwiftCodePattern {
743743
)
744744
let cdeclAttrArgs = AttributeSyntax.Arguments.argumentList(
745745
[
746-
LabeledExprSyntax(label: nil, expression: StringLiteralExprSyntax(content: abiName)),
746+
LabeledExprSyntax(label: nil, expression: StringLiteralExprSyntax(content: abiName))
747747
]
748748
)
749749
#else

0 commit comments

Comments
 (0)