We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7b04cc commit 804bddaCopy full SHA for 804bdda
1 file changed
src/parse.ts
@@ -26,7 +26,7 @@ function shouldIgnoreError(
26
message === ERROR_MESSAGE_SHOULD_ALWAYS_IGNORE ||
27
(allowDuplicateKeysInMap &&
28
message.startsWith(MAP_KEY_DUPLICATE_ERROR_MESSAGE_PREFIX) &&
29
- error.message.endsWith(MAP_KEY_DUPLICATE_ERROR_MESSAGE_SUFFIX))
+ message.endsWith(MAP_KEY_DUPLICATE_ERROR_MESSAGE_SUFFIX))
30
);
31
}
32
0 commit comments