Skip to content

Commit

Permalink
Fix an exception in the test extension when filterlist is disabled (#584
Browse files Browse the repository at this point in the history
)
  • Loading branch information
muodov authored Jan 7, 2025
1 parent 92e330a commit d0c22e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/web.ts
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ export default class AutoConsent {
}

filterListFallback() {
if (!BUNDLE_FILTERLIST) {
if (!BUNDLE_FILTERLIST || !this.filtersEngine) {
this.updateState({ lifecycle: 'nothingDetected' });
return false;
}
Expand Down

0 comments on commit d0c22e3

Please sign in to comment.