Update getSystemMessageWithRules.ts
This commit is contained in:
parent
f976e54dc3
commit
765141f0e4
1 changed files with 1 additions and 1 deletions
|
|
@ -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") {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue