Skip to content

Conversation

@nakulj
Copy link
Contributor

@nakulj nakulj commented Dec 1, 2022

Fixes #156

Copy link
Contributor

@dbarnett dbarnett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two questions, looks good to me otherwise.

@nakulj nakulj requested a review from dbarnett December 3, 2022 01:31
Copy link
Contributor

@dbarnett dbarnett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Merging.

@dbarnett dbarnett merged commit 6548022 into google:master Dec 3, 2022
@yegle
Copy link

yegle commented Jan 8, 2023

Hmm the jsonnetfmt (both C++ version and Go version) does not have a -path flag. Was this a mistake?

@dbarnett
Copy link
Contributor

Yeah, probably copypasta from some other formatter file? That means the formatter always fails if you try to format a buffer with an associated filename?

Easy enough to remove if so.

@dbarnett
Copy link
Contributor

I filed #231 for that and have a fix I'm about to submit for it.

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.

Add a formatter for jsonnet

3 participants