Skip to content

Commit

Permalink
fix(ci): cosmetic-selector codebook generation (#4601)
Browse files Browse the repository at this point in the history
  • Loading branch information
seia-soto authored Jan 17, 2025
1 parent a1e9d8f commit 62a0784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/adblocker/tools/generate_compression_codebooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ async function generateCodebook(kind: string): Promise<string[]> {
} else if (kind === 'raw-network') {
options.maxNgram = 20;
} else if (kind === 'cosmetic-selector') {
options.maxNgram = 108;
options.maxNgram = 107;
}
const codebook = generate(strings, options);
validateCodebook(codebook, strings);
Expand Down

0 comments on commit 62a0784

Please sign in to comment.