Skip to content

fix(enforcer): add useAdapter param to avoid infinite loop in watchers #637

fix(enforcer): add useAdapter param to avoid infinite loop in watchers

fix(enforcer): add useAdapter param to avoid infinite loop in watchers #637

Triggered via pull request January 6, 2026 05:30
Status Failure
Total duration 30s
Artifacts

main.yml

on: pull_request
Matrix: test
semantic-release
semantic-release
finish
finish
Fit to window
Zoom out
Zoom in

Annotations

20 errors
test (^20): src/internalEnforcer.ts#L237
Replace `sec:·string,·ptype:·string,·rules:·string[][],·useWatcher:·boolean,·useAdapter:·boolean·=·true` with `⏎····sec:·string,⏎····ptype:·string,⏎····rules:·string[][],⏎····useWatcher:·boolean,⏎····useAdapter:·boolean·=·true⏎··`
test (^20): src/internalEnforcer.ts#L202
Type boolean trivially inferred from a boolean literal, remove type annotation
test (^20): src/internalEnforcer.ts#L202
Replace `sec:·string,·ptype:·string,·rule:·string[],·useWatcher:·boolean,·useAdapter:·boolean·=·true` with `⏎····sec:·string,⏎····ptype:·string,⏎····rule:·string[],⏎····useWatcher:·boolean,⏎····useAdapter:·boolean·=·true⏎··`
test (^20): src/internalEnforcer.ts#L160
Type boolean trivially inferred from a boolean literal, remove type annotation
test (^20): src/internalEnforcer.ts#L109
Type boolean trivially inferred from a boolean literal, remove type annotation
test (^20): src/internalEnforcer.ts#L109
Replace `sec:·string,·ptype:·string,·rules:·string[][],·useWatcher:·boolean,·useAdapter:·boolean·=·true` with `⏎····sec:·string,⏎····ptype:·string,⏎····rules:·string[][],⏎····useWatcher:·boolean,⏎····useAdapter:·boolean·=·true⏎··`
test (^20): src/internalEnforcer.ts#L64
Type boolean trivially inferred from a boolean literal, remove type annotation
test (^20): src/internalEnforcer.ts#L64
Replace `sec:·string,·ptype:·string,·rules:·string[][],·useWatcher:·boolean,·useAdapter:·boolean·=·true` with `⏎····sec:·string,⏎····ptype:·string,⏎····rules:·string[][],⏎····useWatcher:·boolean,⏎····useAdapter:·boolean·=·true⏎··`
test (^20): src/internalEnforcer.ts#L27
Type boolean trivially inferred from a boolean literal, remove type annotation
test (^20): src/internalEnforcer.ts#L27
Replace `sec:·string,·ptype:·string,·rule:·string[],·useWatcher:·boolean,·useAdapter:·boolean·=·true` with `⏎····sec:·string,⏎····ptype:·string,⏎····rule:·string[],⏎····useWatcher:·boolean,⏎····useAdapter:·boolean·=·true⏎··`
test (^22): src/internalEnforcer.ts#L237
Replace `sec:·string,·ptype:·string,·rules:·string[][],·useWatcher:·boolean,·useAdapter:·boolean·=·true` with `⏎····sec:·string,⏎····ptype:·string,⏎····rules:·string[][],⏎····useWatcher:·boolean,⏎····useAdapter:·boolean·=·true⏎··`
test (^22): src/internalEnforcer.ts#L202
Type boolean trivially inferred from a boolean literal, remove type annotation
test (^22): src/internalEnforcer.ts#L202
Replace `sec:·string,·ptype:·string,·rule:·string[],·useWatcher:·boolean,·useAdapter:·boolean·=·true` with `⏎····sec:·string,⏎····ptype:·string,⏎····rule:·string[],⏎····useWatcher:·boolean,⏎····useAdapter:·boolean·=·true⏎··`
test (^22): src/internalEnforcer.ts#L160
Type boolean trivially inferred from a boolean literal, remove type annotation
test (^22): src/internalEnforcer.ts#L109
Type boolean trivially inferred from a boolean literal, remove type annotation
test (^22): src/internalEnforcer.ts#L109
Replace `sec:·string,·ptype:·string,·rules:·string[][],·useWatcher:·boolean,·useAdapter:·boolean·=·true` with `⏎····sec:·string,⏎····ptype:·string,⏎····rules:·string[][],⏎····useWatcher:·boolean,⏎····useAdapter:·boolean·=·true⏎··`
test (^22): src/internalEnforcer.ts#L64
Type boolean trivially inferred from a boolean literal, remove type annotation
test (^22): src/internalEnforcer.ts#L64
Replace `sec:·string,·ptype:·string,·rules:·string[][],·useWatcher:·boolean,·useAdapter:·boolean·=·true` with `⏎····sec:·string,⏎····ptype:·string,⏎····rules:·string[][],⏎····useWatcher:·boolean,⏎····useAdapter:·boolean·=·true⏎··`
test (^22): src/internalEnforcer.ts#L27
Type boolean trivially inferred from a boolean literal, remove type annotation
test (^22): src/internalEnforcer.ts#L27
Replace `sec:·string,·ptype:·string,·rule:·string[],·useWatcher:·boolean,·useAdapter:·boolean·=·true` with `⏎····sec:·string,⏎····ptype:·string,⏎····rule:·string[],⏎····useWatcher:·boolean,⏎····useAdapter:·boolean·=·true⏎··`