diff --git a/cli/script.ts b/cli/script.ts index 7d0b80d432..fc8a851f1a 100644 --- a/cli/script.ts +++ b/cli/script.ts @@ -624,7 +624,11 @@ async function generateMetadata( const elems = await elementsToMap( await FSFSElement(Deno.cwd()), (p, isD) => { - return (!isD && !exts.some((ext) => p.endsWith(ext))) || ignore(p, isD); + return ( + (!isD && !exts.some((ext) => p.endsWith(ext))) || + ignore(p, isD) || + p.includes(".flow/") + ); }, false, {}