Skip to content

sorting breaks strings containing {{ }} #283

Description

@ssbarnea
foo: "{{ .Fighters}}"

When sorted the tool removes the quotes and that breaks the YAML file as it makes it use a nested dictionary, totally different data.

The sorter should never change the data that is loaded, it should have a roundtrip test for it and refuse to sort if it causes it.

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