diff --git a/std/fs/walk.ts b/std/fs/walk.ts index 8f21968331..06d889b0e4 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,