Skip to content

Commit 538e6cc

Browse files
natanrolnikmxcl
authored andcommitted
Fix Swift 5.0 compilation
1 parent 40b6d3d commit 538e6cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/Path+ls.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,6 @@ public enum ListDirectoryOptions {
255255

256256
private extension URL {
257257
var isDirectory: Bool {
258-
(try? resourceValues(forKeys: [.isDirectoryKey]))?.isDirectory == true
258+
return (try? resourceValues(forKeys: [.isDirectoryKey]))?.isDirectory == true
259259
}
260260
}

0 commit comments

Comments
 (0)