Skip to content

Commit 6222727

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

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ struct ImportTS {
480480
leftParen: .leftParenToken(),
481481
type: IdentifierTypeSyntax(name: .identifier("JSException")),
482482
rightParen: .rightParenToken()
483-
) : nil,
483+
) : nil
484484
)
485485
}
486486
static func buildAccessorEffect(throws: Bool, async: Bool) -> AccessorEffectSpecifiersSyntax {
@@ -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)