summaryrefslogtreecommitdiff
path: root/std/fs/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'std/fs/README.md')
-rw-r--r--std/fs/README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/std/fs/README.md b/std/fs/README.md
index 289069694..8d1be54bf 100644
--- a/std/fs/README.md
+++ b/std/fs/README.md
@@ -156,8 +156,8 @@ for (const fileInfo of walkSync(".")) {
// Async
async function printFilesNames() {
- for await (const fileInfo of walk()) {
- console.log(fileInfo.filename);
+ for await (const entry of walk()) {
+ console.log(entry.path);
}
}