Skip to content

Commit 2f24f57

Browse files
./Utilities/format.swift
1 parent 2e71e20 commit 2f24f57

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

Plugins/BridgeJS/Sources/BridgeJSCore/ExportSwift.swift

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,9 +245,11 @@ class ExportSwift {
245245
let collector = APICollector(parent: self)
246246
collector.walk(sourceFile)
247247
exportedFunctions.append(contentsOf: collector.exportedFunctions)
248-
exportedClasses.append(contentsOf: collector.exportedClassNames.map {
249-
collector.exportedClassByName[$0]!
250-
})
248+
exportedClasses.append(
249+
contentsOf: collector.exportedClassNames.map {
250+
collector.exportedClassByName[$0]!
251+
}
252+
)
251253
return collector.errors
252254
}
253255

Plugins/BridgeJS/Sources/BridgeJSCore/ImportTS.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ struct ImportTS {
492492
leftParen: .leftParenToken(),
493493
type: IdentifierTypeSyntax(name: .identifier("JSException")),
494494
rightParen: .rightParenToken()
495-
) : nil,
495+
) : nil
496496
)
497497
}
498498
}

0 commit comments

Comments
 (0)