Skip to content

Commit c6c17d3

Browse files
authored
Update Swiftlint and fix warning. (#29)
1 parent cbe5b4d commit c6c17d3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Mintfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
realm/SwiftLint@0.39.2
1+
realm/SwiftLint@0.41.0

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![SwiftPM compatible](https://img.shields.io/badge/SwiftPM-compatible-4BC51D.svg?style=flat)](https://swift.org/package-manager/)
77
[![Platform](https://img.shields.io/cocoapods/p/LDSwiftEventSource.svg?style=flat)](https://cocoapods.org/pods/LDSwiftEventSource)
88

9-
LDSwiftEventSource is a cross platform implementation of the [EventSource specification](https://www.w3.org/TR/eventsource/) written in Swift. It was developed for use in the [LaunchDarkly iOS SDK](https://github.com/launchdarkly/ios-client-sdk). Generated API docs are available on [GitHub Pages](https://launchdarkly.github.io/swift-eventsource/).
9+
LDSwiftEventSource is a cross platform implementation of the [EventSource specification](https://html.spec.whatwg.org/multipage/server-sent-events.html) written in Swift. It was developed for use in the [LaunchDarkly iOS SDK](https://github.com/launchdarkly/ios-client-sdk). Generated API docs are available on [GitHub Pages](https://launchdarkly.github.io/swift-eventsource/).
1010

1111
## Requirements
1212
- iOS 10.0+ / watchOS 3.0+ / tvOS 10.0+ / macOS 10.12+

Tests/LDSwiftEventSourceTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ final class LDSwiftEventSourceTests: XCTestCase {
102102
var connectionErrorHandlerCallCount = 0
103103
var connectionErrorAction: ConnectionErrorAction = .proceed
104104
var config = EventSource.Config(handler: handler, url: URL(string: "abc")!)
105-
config.connectionErrorHandler = { error in
105+
config.connectionErrorHandler = { _ in
106106
connectionErrorHandlerCallCount += 1
107107
return connectionErrorAction
108108
}

0 commit comments

Comments
 (0)