Skip to content

Commit 6043f5f

Browse files
committed
Fixed SL.
1 parent f41a489 commit 6043f5f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Sources/FaviconFinder/Toolbox/FaviconURLSession.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,11 @@ private extension FaviconURLSession {
8787

8888
// Check for meta-refresh redirect if needed
8989
if checkForMetaRefreshRedirect {
90-
// swiftlint:disable:next non_optional_string_data_conversion
90+
// swiftlint:disable non_optional_string_data_conversion
9191
guard let htmlStr = String(data: data, encoding: .utf8) else {
9292
throw URLError(.badServerResponse)
9393
}
94+
// swiftlint:enable non_optional_string_data_conversion
9495
let html = try SwiftSoup.parse(htmlStr)
9596

9697
if let head = html.head() {

0 commit comments

Comments
 (0)