-
-
Notifications
You must be signed in to change notification settings - Fork 776
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect duplicated key exception #242
Comments
Lines 13 & 21 have duplicated keys. Error point to end of duplicated key block. |
kyuwoo-choi
pushed a commit
to kyuwoo-choi/atom-linguist
that referenced
this issue
Apr 17, 2016
It seems js-yaml starts issuing error on duplicated mapping key since around [email protected] nodeca/js-yaml#242 adding json option fixes by overriding duplicated mapping key as it was expected before.
Just in case anyone else gets here from a google search, I got this error because I had tab indentation mixed in with space indentation due to a copy and paste |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After updating to 3.5 version I've started to receive an incorrect exception while using
safeLoad
on this file: https://github.com/wikimedia/restbase/blob/master/sys/post_data.yamlThe exception is:
YAMLException: duplicated mapping key at line 24, column 1:\n \n ^\n at generateError
Seems like empty lines are considered as mapping keys now, which is clearly incorrect.
The text was updated successfully, but these errors were encountered: