From 00ebedb4fb588edc1d383558c1a45dea34d005e2 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 13 Jul 2014 09:23:59 -0700 Subject: [PATCH] command: better whitespace in state formatting --- command/format_state.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())) }