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

Sort the JSON keys of the exported configuration #759

Merged
merged 1 commit into from
Feb 16, 2022

Conversation

jparise
Copy link
Contributor

@jparise jparise commented Feb 16, 2022

This results in a more stable (and diff-able) configuration file.

JSONEncoder.OutputFormatting.sortedKeys was introduced in macOS
10.13, so this is protected by a runtime availability check.

This results in a more stable (and diff-able) configuration file.

`JSONEncoder.OutputFormatting.sortedKeys` was introduced in macOS
10.13, so this is protected by a runtime availability check.
@rxhanson rxhanson merged commit d8f9279 into rxhanson:master Feb 16, 2022
@rxhanson
Copy link
Owner

Thanks!

@jparise jparise deleted the config-json-sorted branch February 20, 2022 15:18
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

Successfully merging this pull request may close these issues.

2 participants