Skip to content

Commit 425b880

Browse files
authored
fix: this.hasHostnameConstraint() is always true (#5325)
1 parent 7700330 commit 425b880

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/adblocker/src/filters/cosmetic.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ export default class CosmeticFilter implements IFilter {
584584
}
585585

586586
// No `hostname` available but this filter has some constraints on hostname.
587-
if (!hostname && this.hasHostnameConstraint()) {
587+
if (!hostname) {
588588
return false;
589589
}
590590

0 commit comments

Comments
 (0)