mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 20:38:55 +00:00
Provide required arguments to walk in example. (#5668)
This commit is contained in:
parent
6d7e3621da
commit
765acd3170
@ -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…
Reference in New Issue
Block a user