From 765acd3170dca4320397fbdec41540b43e6d4315 Mon Sep 17 00:00:00 2001 From: Hendrik Date: Wed, 20 May 2020 18:24:02 +0200 Subject: [PATCH] Provide required arguments to walk in example. (#5668) --- std/fs/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/std/fs/README.md b/std/fs/README.md index a8b2c96144..99cbc076a1 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); } }