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

Sequences aren't decoded correcly #6

Open
mjhopkins opened this issue Dec 18, 2023 · 1 comment
Open

Sequences aren't decoded correcly #6

mjhopkins opened this issue Dec 18, 2023 · 1 comment

Comments

@mjhopkins
Copy link

mjhopkins commented Dec 18, 2023

Test case to reproduce the issue
This fails:

name: My test YAML file
components:
- name: Component #1
  index: 0
- name: Component #2
  index: 1

while this succeeds:

name: My test YAML file
components:
  - name: Component #1
    index: 0
  - name: Component #2
    index: 1

Expectation: both inputs should succeed, and give the same results.

@smittytone
Copy link
Owner

As noted in the Read Me's Troubleshooting section, this is caused by the YAML library I use: it is very strict about indentation. It's on my To Do list to devise a workaround or select an alternative YAML decoder.

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