Update getSystemMessageWithRules.ts

This commit is contained in:
Tomasz Stefaniak 2025-06-17 13:28:26 -07:00
parent f976e54dc3
commit 765141f0e4

View file

@ -123,7 +123,7 @@ export const shouldApplyRule = (
filePaths: string[],
rulePolicies: RulePolicies = {},
): boolean => {
const policy = rulePolicies[rule.name];
const policy = rulePolicies[rule.name || ""];
// Always apply if policy is "always"
if (policy === "always") {