Skip to content

Commit

Permalink
Fix paths#listDir (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
Seggan committed Dec 28, 2023
1 parent e5b3784 commit 98b869b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ object PathLib : NativeLibrary("__path") {
lib["listDir"] = pathFunction { path ->
val list = Value.List()
path.listDirectoryEntries().forEach {
list.add(it.absolutePathString().metisValue())
list.add(it.pathString.metisValue())
}
list
}
Expand Down

0 comments on commit 98b869b

Please sign in to comment.