diff --git a/index.ts b/index.ts index 9a64891..b3657bf 100644 --- a/index.ts +++ b/index.ts @@ -39,9 +39,7 @@ Bun.serve({ rules = Array.from(new Set(rules)); - const ruleCount = originalRuleCount - rules.length; - - const rulesText = makeComment(originalRuleCount, ruleCount) + rules.join('\n'); + const rulesText = makeComment(originalRuleCount, originalRuleCount - rules.length) + rules.join('\n'); return new Response(rulesText, { headers: {