File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ func (p *DefaultParser) Parse(body string) ParseResult {
90
90
func (p * FmtParser ) Parse (body string ) ParseResult {
91
91
result := ParseResult {}
92
92
if p .Fail .MatchString (body ) {
93
- result .Result = "There is diff in your .tf file (need to be formatted)"
93
+ result .Result = body
94
94
result .ExitCode = ExitFail
95
95
}
96
96
return result
Original file line number Diff line number Diff line change @@ -39,11 +39,10 @@ const (
39
39
DefaultFmtTemplate = `
40
40
{{ .Title }}
41
41
42
- {{ .Message }}
43
-
44
- {{ .Result }}
42
+ <details><summary>Details (Click me)</summary>
45
43
46
- {{ .Body }}
44
+ <pre><code>{{ .Body }}
45
+ </pre></code></details>
47
46
`
48
47
49
48
// DefaultPlanTemplate is a default template for terraform plan
You can’t perform that action at this time.
0 commit comments