Fix lint issues.

This commit is contained in:
Brent Simmons
2025-01-24 23:02:17 -08:00
parent cc34209738
commit 4a1df03375
17 changed files with 40 additions and 44 deletions

View File

@@ -26,7 +26,7 @@ extension Array where Element == Node {
private extension Node {
class func nodesSortedAlphabetically(_ nodes: [Node]) -> [Node] {
static func nodesSortedAlphabetically(_ nodes: [Node]) -> [Node] {
return nodes.sorted { (node1, node2) -> Bool in
@@ -41,7 +41,7 @@ private extension Node {
}
}
class func nodesSortedAlphabeticallyWithFoldersAtEnd(_ nodes: [Node]) -> [Node] {
static func nodesSortedAlphabeticallyWithFoldersAtEnd(_ nodes: [Node]) -> [Node] {
return nodes.sorted { (node1, node2) -> Bool in