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

jsonnetfmt formatter broken, always fails with ERROR: unrecognized argument: -p #231

Closed
dbarnett opened this issue Nov 24, 2023 · 0 comments · Fixed by #232
Closed

jsonnetfmt formatter broken, always fails with ERROR: unrecognized argument: -p #231

dbarnett opened this issue Nov 24, 2023 · 0 comments · Fixed by #232
Assignees
Labels

Comments

@dbarnett
Copy link
Contributor

The jsonnetfmt formatter doesn't work at all, fails with an error about passing -path as an argument:

Error formatting file: ERROR(ShellError): Error running: jsonnetfmt -path somepath.jsonnet
ERROR: unrecognized argument: -p

Looks like it was just never working. I can't find any evidence that jsonnetfmt ever supported a --path argument. That seems to have just been copypasta from another formatter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant