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