Skip to content

Commit

Permalink
use raw adblock dat format
Browse files Browse the repository at this point in the history
  • Loading branch information
antonok-edm committed Aug 1, 2023
1 parent a204c78 commit 4fb3145
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/generateAdBlockRustDataFiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const generateDataFileFromLists = (filterRuleData, outputDATFilename, outSubdir,
filterSet.addFilters(enforceBraveDirectives(title, data).split('\n'), parseOpts)
}
const client = new Engine(filterSet, true)
const arrayBuffer = client.serializeCompressed()
const arrayBuffer = client.serializeRaw()
const outPath = getOutPath(outputDATFilename, outSubdir)
fs.writeFileSync(outPath, Buffer.from(arrayBuffer))
}
Expand Down

0 comments on commit 4fb3145

Please sign in to comment.