mirror of https://github.com/gorhill/uBlock.git
Improve logging in `m3u-prune` scriptlet
Related feedback: https://github.com/uBlockOrigin/uAssets/issues/23042#issuecomment-2050238172
This commit is contained in:
parent
6e61a13e40
commit
931f44ae16
|
@ -3270,6 +3270,10 @@ function m3uPrune(
|
|||
};
|
||||
const pruner = text => {
|
||||
if ( (/^\s*#EXTM3U/.test(text)) === false ) { return text; }
|
||||
if ( m3uPattern === '' ) {
|
||||
safe.uboLog(` Content:\n${text}`);
|
||||
return text;
|
||||
}
|
||||
if ( reM3u.multiline ) {
|
||||
reM3u.lastIndex = 0;
|
||||
for (;;) {
|
||||
|
|
Loading…
Reference in New Issue