diff --git a/command/format/diff.go b/command/format/diff.go index 4db9b09c17..e642f4c957 100644 --- a/command/format/diff.go +++ b/command/format/diff.go @@ -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))