Merge pull request #4200 from code-yeongyu/fix/rules-core-restore-sisyphus-with-deprecation-warning

fix(rules-core): restore .sisyphus/rules discovery with deprecation warning (planned removal v4.3.0)
This commit is contained in:
YeonGyu-Kim
2026-05-20 13:24:31 +09:00
committed by GitHub
6 changed files with 103 additions and 6 deletions
+2 -2
View File
@@ -87,10 +87,10 @@ async function createProcessor(projectRoot: string): Promise<{
trackedShouldApplyRuleCount += 1;
return { applies: true, reason: "matched" };
},
isDuplicateByRealPath: (realPath: string, cache: Set<string>) =>
isDuplicateByRealPath: (realPath: string, cache: ReadonlySet<string>) =>
cache.has(realPath),
createContentHash: (content: string) => `hash:${content}`,
isDuplicateByContentHash: (hash: string, cache: Set<string>) =>
isDuplicateByContentHash: (hash: string, cache: ReadonlySet<string>) =>
cache.has(hash),
});
}