summaryrefslogtreecommitdiff
path: root/std/fs
diff options
context:
space:
mode:
authorHendrik <gemret@gmail.com>2020-05-20 18:24:02 +0200
committerGitHub <noreply@github.com>2020-05-20 12:24:02 -0400
commit765acd3170dca4320397fbdec41540b43e6d4315 (patch)
treef0c2ea8a1f526db364747dd0a4e13b01a8795818 /std/fs
parent6d7e3621daad936c87de930e8b9537e5ccc913e3 (diff)
Provide required arguments to walk in example. (#5668)
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);
}
}