Skip to content

Commit

Permalink
command/format: Render null in red
Browse files Browse the repository at this point in the history
  • Loading branch information
radeksimko committed Dec 11, 2018
1 parent 9a1f79a commit 963b8fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command/format/diff.go
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ func (p *blockBodyDiffPrinter) writeValue(val cty.Value, action plans.Action, in
return
}
if val.IsNull() {
p.buf.WriteString("null")
p.buf.WriteString(p.color.Color("[red]null[reset]"))
return
}

Expand Down

0 comments on commit 963b8fa

Please sign in to comment.