diff --git a/.swiftlint.yml b/.swiftlint.yml index 437e9f0..51f5777 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -1,4 +1,4 @@ -# Updated for 0.49.1 +# Updated for 0.50.3 excluded: - ".build" @@ -97,6 +97,8 @@ opt_in_rules: - accessibility_label_for_image - comma_inheritance - self_binding + - accessibility_trait_for_button + - shorthand_optional_binding disabled_rules: - trailing_comma diff --git a/Sources/TangerineDownloader/TangerineDownloader.swift b/Sources/TangerineDownloader/TangerineDownloader.swift index 7a7d219..36b0427 100644 --- a/Sources/TangerineDownloader/TangerineDownloader.swift +++ b/Sources/TangerineDownloader/TangerineDownloader.swift @@ -81,7 +81,7 @@ public class TangerineDownloader { } group.wait() } - if let error = error { + if let error { return .failure(error) } return .success(transactions)