mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-08 00:03:07 +00:00
fix(cli): avoid flows in script generate-metadata
This commit is contained in:
+5
-1
@@ -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,
|
||||
{}
|
||||
|
||||
Reference in New Issue
Block a user