Skip to content

Commit bd60f89

Browse files
committed
fix: simplify pathContents assignment in EditorView
1 parent 12a4d4d commit bd60f89

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lara/views/EditorView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,6 @@ struct EditorView: View {
8686
// status = "failed to load plist: \(error.localizedDescription)"
8787
// }
8888

89-
pathContents = (try? mgr.vfslistdir(path: currentPath))?.map { (name: $0, isDir: false) } ?? []
89+
pathContents = (try? mgr.vfslistdir(path: currentPath)) ?? []
9090
}
9191
}

0 commit comments

Comments
 (0)