Update SwiftLint to version 0.52.x, fix new violations or disable them (#618)
This commit is contained in:
parent
d9bd0f3014
commit
ba1a81170b
6 changed files with 16 additions and 10 deletions
|
|
@ -105,7 +105,8 @@ extension NSDictionary {
|
|||
return host
|
||||
}
|
||||
return value
|
||||
} else if let value = self[NSExtensionJavaScriptPreprocessingResultsKey] as? String {
|
||||
}
|
||||
if let value = self[NSExtensionJavaScriptPreprocessingResultsKey] as? String {
|
||||
if let host = URL(string: value)?.host {
|
||||
return host
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue