Skip to content

Commit

Permalink
fix: Make PolicyCheckSummary rendering optional (cherry-pick runatlan…
Browse files Browse the repository at this point in the history
…tis#4382) (runatlantis#4387)

Co-authored-by: Sourav Agrawal <146818014+sourava01@users.noreply.github.com>
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
  • Loading branch information
3 people authored Jun 16, 2024
1 parent a2b1451 commit 37b0c97
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion server/events/templates/policy_check_results_wrapped.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,11 @@
</details>
{{- if eq .Command "Policy Check" }}

{{- if ne .PolicyCheckSummary "" }}
```
{{ .PolicyCheckSummary }}
```
{{- end }}
{{ end -}}

{{- end }}
{{ end -}}

0 comments on commit 37b0c97

Please sign in to comment.