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

Set non-empty default format strings #136

Merged
merged 3 commits into from
Jan 25, 2024
Merged

Conversation

alcarney
Copy link
Member

By setting default format strings like {.|json} or {.|json-compact} we ensure that the lsp-devtools record command produces valid JSON when using the --to-file option.

Closes #130

This gives more control over how items can be formatted.
By providing defaults like `{.|json}` or `{.|json-compact}` we ensure
that the `record` command always produces valid JSON
No need to depend on a git snapshot anymore
@alcarney alcarney merged commit 91f23c0 into swyddfa:develop Jan 25, 2024
8 checks passed
@alcarney alcarney deleted the fix-record branch January 25, 2024 19:07
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.

record --to-file not dumping conformant json.
1 participant