Skip to content

Wrong error message when yaml file contains tabs #64

Closed
jakubmal opened this Issue Feb 15, 2013 · 1 comment

2 participants

@jakubmal

Steps to reproduce:
1. Create otherwise valid yaml file, but instead of spaces use tabs.
2. See error when loading with require:

YAMLException: JS-YAML: the stream contains non-printable characters in "/home/developer/code/request-tester/app.yml" at line 1, column 1

What should appear:
1. Either error at appearance of first invalid character (tab)
2. or general error that there are tabs in the file

I should have some time this weekend to do the pull request here.

@dervus dervus closed this in 4a02edc Feb 15, 2013
@dervus
Nodeca member
dervus commented Feb 15, 2013

Just a typo. Thanks for the report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.