Skip to content

Commit

Permalink
fixed the last swiftlint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
icappsCedric committed Mar 28, 2024
1 parent 296d3ed commit 11663da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions Example/Tests/Helpers/SecTrust+Apple.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ extension SecTrust {
SecTrustCreateWithCertificates(certificates, policy, &optionalSecTrust)
return optionalSecTrust!
}
// swiftlint:enable force_try
}
4 changes: 1 addition & 3 deletions Sources/Logger/ConsoleLogger.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ extension ConsoleLogger: Logger {
let url = urlRequest.url else { return }
os_log("☁️ %{public}@: %{public}@", log: OSLog.request, type: .info, method, url.absoluteString)
}

// swiftlint:disable function_body_length

public func end(urlRequest: URLRequest, urlResponse: URLResponse, metrics: URLSessionTaskMetrics, error: Error?) {
guard
let method = urlRequest.httpMethod,
Expand Down Expand Up @@ -70,5 +69,4 @@ extension ConsoleLogger: Logger {
}
}
}
// swiftlint:enable function_body_length
}

0 comments on commit 11663da

Please sign in to comment.