command/format: Don't include commas after elements in map diffs
Although commas are allowed in this context, it's not idiomatic to use them.
This commit is contained in:
parent
ce157c7f23
commit
4406b06ef8
|
@ -763,7 +763,7 @@ func (p *blockBodyDiffPrinter) writeValueDiff(old, new cty.Value, indent int, pa
|
|||
p.writeValueDiff(oldV, newV, indent+4, path)
|
||||
}
|
||||
|
||||
p.buf.WriteString(",\n")
|
||||
p.buf.WriteByte('\n')
|
||||
}
|
||||
|
||||
p.buf.WriteString(strings.Repeat(" ", indent))
|
||||
|
|
Loading…
Reference in New Issue