Skip to content

Commit f50f6ee

Browse files
committed
Fixed an exception message
1 parent 2a2fea3 commit f50f6ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/wasmWasi/src/files/FileSystemWasm.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ internal object WasiFileSystem : SystemFileSystemImpl() {
301301
resultPtr = fdPtr.address.toInt()
302302
)
303303
)
304-
if (res != Errno.success) throw IOException("Can't read directory ${directory.path}: ${res.description}")
304+
if (res != Errno.success) throw IOException("Can't open directory ${directory.path}: ${res.description}")
305305
fdPtr.loadInt()
306306
}
307307
try {

0 commit comments

Comments
 (0)