Skip to content

Commit 804bdda

Browse files
committed
Minor fix
1 parent f7b04cc commit 804bdda

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/parse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function shouldIgnoreError(
2626
message === ERROR_MESSAGE_SHOULD_ALWAYS_IGNORE ||
2727
(allowDuplicateKeysInMap &&
2828
message.startsWith(MAP_KEY_DUPLICATE_ERROR_MESSAGE_PREFIX) &&
29-
error.message.endsWith(MAP_KEY_DUPLICATE_ERROR_MESSAGE_SUFFIX))
29+
message.endsWith(MAP_KEY_DUPLICATE_ERROR_MESSAGE_SUFFIX))
3030
);
3131
}
3232

0 commit comments

Comments
 (0)