Skip to content

Commit

Permalink
Fix sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
finestructure committed Sep 19, 2023
1 parent c1f093a commit bc778f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/ValidatorCore/Commands/ApplyDenyList.swift
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ extension Validator {
return Array(
Set(packageList.map(CaseInsensitivePackageURL.init))
.subtracting(Set(denyList.map(CaseInsensitivePackageURL.init)))
).map(\.url).sorted { $0.absoluteString < $1.absoluteString }
).map(\.url).sorted { $0.absoluteString.lowercased() < $1.absoluteString.lowercased() }
}

var packageListEncoder: JSONEncoder {
Expand Down

0 comments on commit bc778f6

Please sign in to comment.