hcl/printer: style change
This commit is contained in:
parent
e692f814c2
commit
aa4dbbc2b7
@ -419,8 +419,7 @@ func (p *printer) list(l *ast.ListType) []byte {
|
||||
}
|
||||
}
|
||||
|
||||
var insertSpaceBeforeItem bool = false
|
||||
|
||||
insertSpaceBeforeItem := false
|
||||
for i, item := range l.List {
|
||||
if item.Pos().Line != l.Lbrack.Line {
|
||||
// multiline list, add newline before we add each item
|
||||
|
Loading…
Reference in New Issue
Block a user