Skip to content

Wrong error message when yaml file contains tabs #64

@jtmalinowski

Description

@jtmalinowski

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions