mirror of https://github.com/gorhill/uBlock.git
Fix filter list paths
This commit is contained in:
parent
e94a84d6fb
commit
ad8b7b2f12
|
@ -343,22 +343,14 @@ async function bench() {
|
|||
|
||||
let start = process.hrtime.bigint();
|
||||
await engine.useLists([
|
||||
read('assets/ublock/filters.txt')
|
||||
read('assets/ublock/filters.min.txt')
|
||||
.then(raw => ({ name: 'filters', raw })),
|
||||
read('assets/ublock/filters-2020.txt')
|
||||
.then(raw => ({ name: 'filters-2020', raw })),
|
||||
read('assets/ublock/filters-2021.txt')
|
||||
.then(raw => ({ name: 'filters-2021', raw })),
|
||||
read('assets/ublock/filters-2022.txt')
|
||||
.then(raw => ({ name: 'filters-2022', raw })),
|
||||
read('assets/ublock/badware.txt')
|
||||
.then(raw => ({ name: 'badware', raw })),
|
||||
read('assets/ublock/privacy.txt')
|
||||
read('assets/ublock/privacy.min.txt')
|
||||
.then(raw => ({ name: 'privacy', raw })),
|
||||
read('assets/ublock/quick-fixes.txt')
|
||||
.then(raw => ({ name: 'quick-fixes.txt', raw })),
|
||||
read('assets/ublock/resource-abuse.txt')
|
||||
.then(raw => ({ name: 'resource-abuse', raw })),
|
||||
read('assets/ublock/unbreak.txt')
|
||||
.then(raw => ({ name: 'unbreak.txt', raw })),
|
||||
read('assets/thirdparties/easylist/easylist.txt')
|
||||
|
|
Loading…
Reference in New Issue