Skip to content

Does not properly convert nested lists #24

@btusakul

Description

@btusakul

Given a file with this content:

- test1
-   - test2
    - test3

the expected output from piping this file's content to ConvertFrom-Yaml would be a list with 'test1' and a nested list with 'test2' and 'test3'. This should be the proper formatting for nested lists in YAML and converting this YAML file in Python, with the PyYAML module, exhibits this behavior.

However, the ConvertFrom-Yaml cmdlet returns a list with 'test1', 'test2', and 'test3'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions