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

First level keys not sorted by default with sort yaml command #193

Open
UyttenhoveSimon opened this issue Feb 15, 2024 · 0 comments
Open

Comments

@UyttenhoveSimon
Copy link

Hello,

First thanks for your extension.
Second, apologies if such thing exists but I could not find a similar issue opened/closed or anything in the documentation.

Issue:

nq:
  auth:
    org-organization-uuids:
      '7680': toto
    org-sso-ids:
      '7680': tata
  deployments:
    dashboard:
      api:
        key: 7df5f
        url: ${url}
      data:
        environment: UAT
        manifest-file: file:/data/workdir/manifest.json
      enabled: true
      
environment:
  name: Test

When using "sort yaml" command, the nq key and its child nodes are not placed below environment key.
If I use "Custom sort 1" it does the sorting as expected.

Is this behavior expected ?

Thanks in advance.

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

1 participant