Skip to content

Commit d9bdf9d

Browse files
thymikeeclaude
andcommitted
refactor(layering): use the shared production predicate for the runner test-host rule
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 918b275 commit d9bdf9d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎scripts/layering/platform-package-policy.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ function checkSource(file: string, source: string): LayeringViolation[] {
257257
),
258258
);
259259
}
260-
if (resolvesToAppleRunnerTestHost(file, site.spec) && isProductionSource(file)) {
260+
if (resolvesToAppleRunnerTestHost(file, site.spec) && isProductionSourceFile(file)) {
261261
violations.push(
262262
violation(
263263
file,

0 commit comments

Comments
 (0)