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

backticks causes error #8

Open
DDAZZA opened this issue Mar 29, 2016 · 4 comments
Open

backticks causes error #8

DDAZZA opened this issue Mar 29, 2016 · 4 comments

Comments

@DDAZZA
Copy link
Owner

DDAZZA commented Mar 29, 2016

error when backticks are used in YAML file

Stacktrace:

~/.rbenv/versions/2.3.0/lib/ruby/2.3.0/psych.rb:377:in `parse': (./change_log/next/test.yml): found character that cannot start any token while scanning for the next token at line 8 column 5 (Psych::SyntaxError)
        from ~/.rbenv/versions/2.3.0/lib/ruby/2.3.0/psych.rb:377:in `parse_stream'
        from ~/.rbenv/versions/2.3.0/lib/ruby/2.3.0/psych.rb:325:in `parse'
        from ~/.rbenv/versions/2.3.0/lib/ruby/2.3.0/psych.rb:252:in `load'
        from ~/.rbenv/versions/2.3.0/lib/ruby/2.3.0/psych.rb:471:in `block in load_file'
        from ~/.rbenv/versions/2.3.0/lib/ruby/2.3.0/psych.rb:471:in `open'
        from ~/.rbenv/versions/2.3.0/lib/ruby/2.3.0/psych.rb:471:in `load_file'
@adamgeorgeson
Copy link
Contributor

Would appear this is a limitation of YAML
http://yaml.org/spec/1.1/#id870830

Do we want to support this? Do we want to use YAML explicitly?

@DDAZZA
Copy link
Owner Author

DDAZZA commented Jan 24, 2017

We should probably return a better error message at least.

@wteuber
Copy link

wteuber commented Jan 10, 2018

I think #1 covers that already, doesn't it?

@adamgeorgeson
Copy link
Contributor

You're right @wteuber. Happy to close this as a dupe.

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

3 participants