diff --git a/command/format_state.go b/command/format_state.go index e05eadb50..4a67ef7ee 100644 --- a/command/format_state.go +++ b/command/format_state.go @@ -78,5 +78,5 @@ func FormatState(s *terraform.State, c *colorstring.Colorize) string { } } - return strings.TrimSpace(c.Color(buf.String())) + return c.Color(strings.TrimSpace(buf.String())) }