From 12b35577713201a63b65245d3cea261da5727306 Mon Sep 17 00:00:00 2001 From: artale Date: Fri, 26 Jun 2026 23:58:17 +0200 Subject: [PATCH] fix: skip generated dirs in security scan --- src/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 8cc1d1b..ecf0cff 100644 --- a/src/index.ts +++ b/src/index.ts @@ -3277,7 +3277,8 @@ security const st = fs.statSync(file); if (st.isDirectory()) { for (const name of fs.readdirSync(file)) { - if ([".git", "node_modules", "dist"].includes(name)) continue; + // ponytail: default repo scan skips generated/ignored evidence junk; scan those paths directly when auditing receipts. + if ([".git", "node_modules", "dist", ".fable", "TEMP", "LOGS", ".runs"].includes(name)) continue; walk(path.join(file, name)); } return;