Skip to content

Commit

Permalink
fix: Make PolicyCheckSummary rendering optional (#4382)
Browse files Browse the repository at this point in the history
  • Loading branch information
sourava01 authored Mar 27, 2024
1 parent 7cb3ebd commit 74255b4
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 74255b4

Please sign in to comment.