From d04999863ccde3d015dca5c687800317ede8de25 Mon Sep 17 00:00:00 2001 From: James Bardin Date: Tue, 6 Apr 2021 15:50:30 -0400 Subject: [PATCH] "with" formatting --- command/format/diagnostic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/format/diagnostic.go b/command/format/diagnostic.go index 2d9d9c8ae..5156595a3 100644 --- a/command/format/diagnostic.go +++ b/command/format/diagnostic.go @@ -214,7 +214,7 @@ func DiagnosticWarningsCompact(diags tfdiags.Diagnostics, color *colorstring.Col func appendSourceSnippets(buf *bytes.Buffer, diag *viewsjson.Diagnostic, color *colorstring.Colorize) { if diag.Address != "" { - fmt.Fprintf(buf, " (%s)\n", diag.Address) + fmt.Fprintf(buf, " with %s,\n", diag.Address) } if diag.Range == nil {