From 45df81eee65f30378935cfc874f6f383bd674bc7 Mon Sep 17 00:00:00 2001 From: Benji Visser Date: Sat, 23 Nov 2024 17:13:20 -0500 Subject: [PATCH] linguist generated (#169) Signed-off-by: Benji Visser --- src/github.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/github.js b/src/github.js index f8e234f..89001b7 100644 --- a/src/github.js +++ b/src/github.js @@ -87,7 +87,7 @@ async function getCustomGeneratedFiles(ctx, owner, repo) { const lines = buff.toString('ascii').split('\n'); lines.forEach((item) => { - if (item.includes('linguist-generated=true')) { + if (/linguist-generated(?:=true)?\b(?!=false)/.test(item)) { files.push(item.split(' ')[0]); } });