mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-06 09:37:12 +02:00
Ignore line, do not report as error
Related issue: - https://github.com/uBlockOrigin/uBlock-issues/issues/2560#issuecomment-1492959500
This commit is contained in:
parent
e2d837a2db
commit
b10f15dd89
@ -1126,8 +1126,9 @@ export class AstFilterParser {
|
||||
if ( tail !== 0 ) {
|
||||
this.linkRight(prev, tail);
|
||||
}
|
||||
if ( this.astType !== AST_TYPE_NETWORK ) { return 0; }
|
||||
this.validateNet();
|
||||
if ( this.astType === AST_TYPE_NETWORK ) {
|
||||
this.validateNet();
|
||||
}
|
||||
return this.throwHeadNode(head);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user