Skip to content

Commit

Permalink
Merge pull request #658 from brave/use-raw-adblock-dat-format
Browse files Browse the repository at this point in the history
Use raw adblock dat format
  • Loading branch information
antonok-edm authored Aug 2, 2023
2 parents a204c78 + 4fb3145 commit 5475402
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 5475402

Please sign in to comment.