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