Skip to content

Commit afe22d4

Browse files
committed
fix comparison
1 parent a48a46b commit afe22d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/translator/translator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export function translate(tokiPona: string): IterableResult<string> {
2020
const unique: Set<string> = new Set();
2121
if (settings.randomize) {
2222
for (const result of iterableResult.iterable()) {
23-
if (unique.size >= RANDOMIZATION_LIMIT) {
23+
if (unique.size > RANDOMIZATION_LIMIT) {
2424
yield {
2525
type: "error",
2626
error: new ResultError("too many output to shuffle"),

0 commit comments

Comments
 (0)