From e4e16ccbd3138f6ab664a459c5dd573b37c186d2 Mon Sep 17 00:00:00 2001 From: Pam Selle <204372+pselle@users.noreply.github.com> Date: Thu, 10 Sep 2020 11:06:40 -0400 Subject: [PATCH] Rebase fix --- command/format/diff.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/command/format/diff.go b/command/format/diff.go index a684315843..f5f13c1e4f 100644 --- a/command/format/diff.go +++ b/command/format/diff.go @@ -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)) }