mirror of https://github.com/gorhill/uBlock.git
Fix counting of error deletion in linter
Related feedback: - https://github.com/uBlockOrigin/uAssets/discussions/17538#discussioncomment-5628053
This commit is contained in:
parent
b2f2611348
commit
f539f869b9
|
@ -840,6 +840,7 @@ CodeMirror.registerHelper('fold', 'ubo-static-filtering', (( ) => {
|
||||||
if ( marker === null ) { return; }
|
if ( marker === null ) { return; }
|
||||||
if ( marker.dataset.lint === 'error' ) {
|
if ( marker.dataset.lint === 'error' ) {
|
||||||
errorCount -= 1;
|
errorCount -= 1;
|
||||||
|
marker.dataset.lint = 'void';
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue