Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
Regressions from superfluous_disable_command being added to swiftlint
  • Loading branch information
bilaalrashid committed Oct 12, 2024
1 parent f1f803b commit f7d6318
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion ReadBeeb/BbcMedia/BbcMedia.swift
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ struct BbcMedia {
configuration.httpAdditionalHeaders = [
// Pretend to be the BBC News app
// Example: BBCNews/25339 (iPhone15,2; iOS 16.6) MediaSelectorClient/7.0.0 BBCHTTPClient/9.0.0
// swiftlint:disable:next line_length force_https
// swiftlint:disable:next line_length
"User-Agent": "BBCNews/25339 (\(UIDevice.current.modelIdentifier); \(UIDevice.current.systemName) \(UIDevice.current.systemVersion)) MediaSelectorClient/7.0.0 BBCHTTPClient/9.0.0"
]
self.session = URLSession(configuration: configuration)
Expand Down
1 change: 0 additions & 1 deletion ReadBeeb/Components/Story/TextContainer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ struct TextContainer: View {
}
}
.environment(\.openURL, OpenURLAction { url in
// swiftlint:disable:next force_https
let schemesToHandle = ["http", "https"]
guard let scheme = url.scheme else { return .systemAction }

Expand Down

0 comments on commit f7d6318

Please sign in to comment.