Skip to content
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

Exeption with wrong message #525

Closed
puzrin opened this issue Nov 2, 2019 · 1 comment
Closed

Exeption with wrong message #525

puzrin opened this issue Nov 2, 2019 · 1 comment
Assignees

Comments

@puzrin
Copy link
Member

puzrin commented Nov 2, 2019

node -e 'console.log(require("js-yaml").safeLoad("!<?\u0000[0]"))'

js-yaml/lib/js-yaml/type/int.js:90
    if (!isDecCode(data.charCodeAt(index))) {
                        ^

TypeError: data.charCodeAt is not a function

I guess it should throw, but normal message.

@puzrin
Copy link
Member Author

puzrin commented Nov 15, 2019

Fixed by aeb6828 & 33c2236

@puzrin puzrin closed this as completed Nov 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants