hcl/printer: style change

This commit is contained in:
Mitchell Hashimoto 2016-02-07 10:40:21 -08:00
parent e692f814c2
commit aa4dbbc2b7

View File

@ -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