Skip to content

Exceptions on malformed yaml #37

@jayvdb

Description

@jayvdb

I forgot to add a template after a target

targets:
  - .gitignore:

And got

  File "/home/jayvdb/.local/lib/python3.6/site-packages/jinja2/loaders.py", line 27, in split_template_path
    for piece in template.split('/'):
AttributeError: 'NoneType' object has no attribute 'split'

I suspect there are a few other similar cases of exceptions when given malformed yaml. moban should explain which line is broken and why.

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