1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-24 19:33:01 +01:00
This commit is contained in:
Raymond Hill 2024-10-06 17:05:44 -04:00
parent acf7f39a60
commit 013e6db6ef
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -182,7 +182,7 @@ async function useLists(lists, options = {}) {
// Populate filtering engine with resolved filter lists // Populate filtering engine with resolved filter lists
const promises = []; const promises = [];
for ( const list of lists ) { for ( const list of lists ) {
promises.push(Promise.resolve(list).then(list => consumeList(list)); promises.push(Promise.resolve(list).then(list => consumeList(list)));
} }
useLists.promise = Promise.all(promises); useLists.promise = Promise.all(promises);