mirror of
https://github.com/yattee/yattee.git
synced 2025-10-11 01:48:12 +00:00
Swiftformat fixes
This commit is contained in:
@@ -176,7 +176,7 @@ struct URLParser {
|
||||
private func removePrefixes(_ value: String, _ prefixes: [String]) -> String {
|
||||
var value = value
|
||||
|
||||
prefixes.forEach { prefix in
|
||||
for prefix in prefixes {
|
||||
if value.hasPrefix(prefix) {
|
||||
value.removeFirst(prefix.count)
|
||||
}
|
||||
|
Reference in New Issue
Block a user