"with" formatting
This commit is contained in:
parent
9e5baf4662
commit
d04999863c
|
@ -214,7 +214,7 @@ func DiagnosticWarningsCompact(diags tfdiags.Diagnostics, color *colorstring.Col
|
||||||
|
|
||||||
func appendSourceSnippets(buf *bytes.Buffer, diag *viewsjson.Diagnostic, color *colorstring.Colorize) {
|
func appendSourceSnippets(buf *bytes.Buffer, diag *viewsjson.Diagnostic, color *colorstring.Colorize) {
|
||||||
if diag.Address != "" {
|
if diag.Address != "" {
|
||||||
fmt.Fprintf(buf, " (%s)\n", diag.Address)
|
fmt.Fprintf(buf, " with %s,\n", diag.Address)
|
||||||
}
|
}
|
||||||
|
|
||||||
if diag.Range == nil {
|
if diag.Range == nil {
|
||||||
|
|
Loading…
Reference in New Issue