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:
parent
6d7e3621da
commit
765acd3170
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue