Rebase fix

This commit is contained in:
Pam Selle 2020-09-10 11:06:40 -04:00
parent 02c1bddfe1
commit e4e16ccbd3
1 changed files with 2 additions and 2 deletions

View File

@ -133,8 +133,8 @@ func ResourceChange(
changeV.Change.After = changeV.Change.After.MarkWithPaths(change.AfterValMarks)
}
bodyWritten := p.writeBlockBodyDiff(schema, changeV.Before, changeV.After, 6, path)
if bodyWritten {
result := p.writeBlockBodyDiff(schema, changeV.Before, changeV.After, 6, path)
if result.bodyWritten {
buf.WriteString("\n")
buf.WriteString(strings.Repeat(" ", 4))
}