Skip to content

Commit ad02ee6

Browse files
committed
Fix a straggler from pr-351
1 parent 3d0f8c1 commit ad02ee6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Foundation/NSPathUtilities.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ public extension NSString {
451451
return exists && isDirectory
452452
}
453453

454-
internal typealias _FileNamePredicate = String? -> Bool
454+
internal typealias _FileNamePredicate = (String?) -> Bool
455455

456456
internal func _getNamesAtURL(_ filePathURL: NSURL, prependWith: String, namePredicate: _FileNamePredicate, typePredicate: _FileNamePredicate) -> [String] {
457457
var result: [String] = []

0 commit comments

Comments
 (0)