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

Ungron doesn't respect --no-sort option #103

Open
slafs opened this issue Jun 29, 2022 · 1 comment
Open

Ungron doesn't respect --no-sort option #103

slafs opened this issue Jun 29, 2022 · 1 comment

Comments

@slafs
Copy link

slafs commented Jun 29, 2022

When using the --ungron option I'd expect the --no-sort option to take effect too,
but unfortunately it's being ignored.

Example:

$ echo '{"z": "first", "a": "last"}' | gron --no-sort | gron --no-sort --ungron
{
  "a": "last",
  "z": "first"
}

Maybe related to #102 ?

@pbsds
Copy link

pbsds commented Sep 19, 2022

It think this issue is in reality a request for a --insert-order flag

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