json/parser: flatten
This commit is contained in:
parent
278bb105f2
commit
407a4ff94c
@ -57,7 +57,7 @@ func (p *Parser) Parse() (*ast.File, error) {
|
||||
|
||||
// Flatten it, which finds patterns and turns them into more HCL-like
|
||||
// AST trees.
|
||||
// flattenObjects(f.Node)
|
||||
flattenObjects(f.Node)
|
||||
|
||||
return f, nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user