0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-03 09:31:22 -05:00

Provide required arguments to walk in example. (#5668)

This commit is contained in:
Hendrik 2020-05-20 18:24:02 +02:00 committed by GitHub
parent 6d7e3621da
commit 765acd3170
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}
}