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

hcl/printer: multiline comments shouldn't indent lines 2+ #166

Merged
merged 1 commit into from
Nov 9, 2016

Conversation

mitchellh
Copy link
Contributor

Fixes hashicorp/terraform#6524

This makes it so that lines 2+ in a comment aren't indented when formatted. This fixes an issue where comments would just continue to indent infinitely.

@mitchellh mitchellh merged commit 3d70291 into master Nov 9, 2016
@mitchellh mitchellh deleted the b-comment-indent branch November 9, 2016 22:51
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.

Terraform fmt adds spaces to commented here-docs, every run returns output to STDOUT
1 participant