summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 99cbc076a..e0f0d85ce 100644
--- a/std/fs/README.md
+++ b/std/fs/README.md
@@ -154,8 +154,8 @@ Iterate all files in a directory recursively.
```ts
import { walk, walkSync } from "https://deno.land/std/fs/mod.ts";
-for (const fileInfo of walkSync(".")) {
- console.log(fileInfo.filename);
+for (const entry of walkSync(".")) {
+ console.log(entry.path);
}
// Async