Skip to content

Commit

Permalink
Provide required arguments to walk in example. (denoland/deno#5668)
Browse files Browse the repository at this point in the history
  • Loading branch information
HoverBaum authored and caspervonb committed Jan 31, 2021
1 parent 2424f10 commit 7783a8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit 7783a8d

Please sign in to comment.