diff options
-rw-r--r-- | std/fs/walk.ts | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/std/fs/walk.ts b/std/fs/walk.ts index 8f2196833..06d889b0e 100644 --- a/std/fs/walk.ts +++ b/std/fs/walk.ts @@ -76,10 +76,11 @@ export interface WalkEntry extends Deno.DirEntry { * - match?: RegExp[]; * - skip?: RegExp[]; * - * for await (const entry of walk(".")) { - * console.log(entry.path); - * assert(entry.isFile); - * }; + * + * for await (const entry of walk(".")) { + * console.log(entry.path); + * assert(entry.isFile); + * } */ export async function* walk( root: string, |