1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-05 11:37:01 +02:00

Fix ESLint warning in useLists() (#3855)

This commit is contained in:
Manish Jethani 2021-09-11 19:03:32 +05:30 committed by GitHub
parent 2effd7ba3d
commit b83e2d4e2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -180,7 +180,7 @@ async function useLists(lists, options = {}) {
useLists.promise = Promise.all(promises);
await useLists.promise;
useLists.promise = null;
useLists.promise = null; // eslint-disable-line require-atomic-updates
// Commit changes
snfe.freeze();