Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
muodov authored Dec 6, 2024
1 parent 064e7cf commit dca35fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DuckDuckGo/Autoconsent/AutoconsentUserScript.swift
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ extension AutoconsentUserScript {
replyHandler([ "type": "ok" ], nil) // this is just to prevent a Promise rejection
}
}

func matchDomainList(domain: String?, domainsList: [String]) -> Bool {
guard let domain = domain else { return false }
let trimmedDomains = domainsList.filter { !$0.trimmingWhitespace().isEmpty }
Expand Down

0 comments on commit dca35fd

Please sign in to comment.