mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00: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
6341358ff5
commit
eafd06ae15
1 changed files with 3 additions and 2 deletions
|
|
@ -1123,8 +1123,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 a new issue