We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f41a489 commit 6043f5fCopy full SHA for 6043f5f
Sources/FaviconFinder/Toolbox/FaviconURLSession.swift
@@ -87,10 +87,11 @@ private extension FaviconURLSession {
87
88
// Check for meta-refresh redirect if needed
89
if checkForMetaRefreshRedirect {
90
- // swiftlint:disable:next non_optional_string_data_conversion
+ // swiftlint:disable non_optional_string_data_conversion
91
guard let htmlStr = String(data: data, encoding: .utf8) else {
92
throw URLError(.badServerResponse)
93
}
94
+ // swiftlint:enable non_optional_string_data_conversion
95
let html = try SwiftSoup.parse(htmlStr)
96
97
if let head = html.head() {
0 commit comments