Skip to content

Commit eb0b255

Browse files
committed
Fixed swiftlint warnings
1 parent 9169ecf commit eb0b255

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/CreateXCFramework/PackageInfo.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ struct PackageInfo {
6363

6464
// TODO: Map diagnostics to swift-log
6565
#if swift(>=5.6)
66-
let observabilitySystem = ObservabilitySystem { scope, diagnostics in
66+
let observabilitySystem = ObservabilitySystem { _, diagnostics in
6767
print("\(diagnostics.severity): \(diagnostics.message)")
6868
}
6969
#else
@@ -79,7 +79,7 @@ struct PackageInfo {
7979

8080
// MARK: - Initialisation
8181

82-
init (options: Command.Options) throws {
82+
init (options: Command.Options) throws { // swiftlint:disable:this function_body_length
8383
self.options = options
8484
self.rootDirectory = Foundation.URL(fileURLWithPath: options.packagePath, isDirectory: true).absoluteURL
8585
self.buildDirectory = self.rootDirectory.appendingPathComponent(options.buildPath, isDirectory: true).absoluteURL

0 commit comments

Comments
 (0)