-
Notifications
You must be signed in to change notification settings - Fork 728
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
--insert-final-newline
breaks bicep format
#14099
Comments
@cecheta Thanks for reporting this!
That's true, but we'd like to support |
shenglol
added a commit
that referenced
this issue
May 30, 2024
…e` (#14193) Closes #14099. ###### Microsoft Reviewers: [Open in CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/Azure/bicep/pull/14193)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bicep version
0.27.1
Describe the bug
Running
bicep format
with the--insert-final-newline
fails with an error:To Reproduce
main.bicep
:Run
az bicep format -f main.bicep --insert-final-newline
Additional context
Running
az bicep format -f main.bicep
includes a final new line anyway, therefore the flag appears to be redundant at best.The text was updated successfully, but these errors were encountered: