mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-02 23:57:10 +02:00
[mv3] Do not include lists with empty ruleset
This commit is contained in:
parent
c698a9fcec
commit
a7b5f5127f
@ -782,6 +782,7 @@ const rulesetFromURLS = async function(assetDetails) {
|
||||
log(`Listset for '${assetDetails.id}':`);
|
||||
|
||||
const text = await fetchAsset(assetDetails);
|
||||
if ( text === '' ) { return; }
|
||||
|
||||
const results = await dnrRulesetFromRawLists(
|
||||
[ { name: assetDetails.id, text } ],
|
||||
|
Loading…
Reference in New Issue
Block a user