mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
[mv3] Temporarily comment out empty list as error
This commit is contained in:
parent
581144eeb8
commit
4f273c4284
1 changed files with 1 additions and 1 deletions
|
|
@ -263,7 +263,7 @@ async function fetchList(assetDetails) {
|
|||
const { url, error } = details;
|
||||
if ( error !== undefined ) { return details; }
|
||||
const content = details.content.trim();
|
||||
if ( content === '' || /^<.*>$/.test(content) ) {
|
||||
if ( /* content === '' || */ /^<.*>$/.test(content) ) {
|
||||
return { url, error: `Bad content: ${url}` };
|
||||
}
|
||||
return { url, content };
|
||||
|
|
|
|||
Loading…
Reference in a new issue