Skip to content

Commit

Permalink
[mv3] Skip some regional lists for the time being
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Sep 24, 2022
1 parent 4755a60 commit ffc4653
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion platform/mv3/make-rulesets.js
Original file line number Diff line number Diff line change
Expand Up @@ -918,11 +918,15 @@ async function main() {
});

// Regional rulesets
const excludedLists = [
'ara-0',
'EST-0',
];
for ( const [ id, asset ] of Object.entries(assets) ) {
if ( asset.content !== 'filters' ) { continue; }
if ( asset.off !== true ) { continue; }
if ( typeof asset.lang !== 'string' ) { continue; }

if ( excludedLists.includes(id) ) { continue; }
const contentURL = Array.isArray(asset.contentURL)
? asset.contentURL[0]
: asset.contentURL;
Expand Down

0 comments on commit ffc4653

Please sign in to comment.