Fix lint issues.
This commit is contained in:
parent
ef4ae1bffe
commit
70a4dcd273
@ -9,3 +9,6 @@ line_length:
|
|||||||
ignores_comments: true
|
ignores_comments: true
|
||||||
ignores_urls: true
|
ignores_urls: true
|
||||||
|
|
||||||
|
disabled_rules:
|
||||||
|
- todo
|
||||||
|
|
||||||
|
@ -278,9 +278,9 @@ extension NewsBlurAccountDelegate {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func sendStoryStatuses(_ statuses: [SyncStatus],
|
func sendStoryStatuses(_ statuses: [SyncStatus],
|
||||||
throttle: Bool,
|
throttle: Bool,
|
||||||
apiCall: ([String], @escaping (Result<Void, Error>) -> Void) -> Void,
|
apiCall: ([String], @escaping (Result<Void, Error>) -> Void) -> Void,
|
||||||
completion: @escaping (Result<Void, Error>) -> Void) {
|
completion: @escaping (Result<Void, Error>) -> Void) {
|
||||||
guard !statuses.isEmpty else {
|
guard !statuses.isEmpty else {
|
||||||
completion(.success(()))
|
completion(.success(()))
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user