Skip to content

Commit 42aee1f

Browse files
committed
fix filter
1 parent de33c8b commit 42aee1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/translator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ function modifier(modifier: TokiPona.Modifier): Output<ModifierTranslation> {
330330
modifier.noun.preposition.length === 0
331331
)
332332
.filter((modifier) =>
333-
modifier.type != "adjective" || modifier.inWayPhrase != null
333+
modifier.type != "adjective" || modifier.inWayPhrase == null
334334
);
335335
case "nanpa":
336336
return phrase(modifier.phrase, "object").filterMap((phrase) => {

0 commit comments

Comments
 (0)