Skip to content

Commit

Permalink
fix: remove emojis from the end of lines
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Dec 7, 2023
1 parent 3551954 commit 663105c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion example-with-destroy-and-result-labels.tfcmt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform:
plan:
template: |
{{if .HasDestroy}}
## :warning: WARNING: Resource Deletion will happen :warning:
## :warning: WARNING: Resource Deletion will happen
This plan contains **resource deletion**. Please check the plan result very carefully!
{{else}}
Expand Down
2 changes: 1 addition & 1 deletion pkg/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func TestLoadFile(t *testing.T) {
Terraform: Terraform{
Plan: Plan{
Template: `{{if .HasDestroy}}
## :warning: WARNING: Resource Deletion will happen :warning:
## :warning: WARNING: Resource Deletion will happen
This plan contains **resource deletion**. Please check the plan result very carefully!
{{else}}
Expand Down
4 changes: 2 additions & 2 deletions pkg/terraform/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ func (t *Template) Execute() (string, error) {
* {{.Before}} => {{.After}}
{{- end}}{{end}}`,
"deletion_warning": `{{if .HasDestroy}}
### :warning: Resource Deletion will happen :warning:
### :warning: Resource Deletion will happen
This plan contains resource delete operation. Please check the plan result very carefully!
{{end}}`,
"changed_result": `{{if .ChangedResult}}
Expand All @@ -258,7 +258,7 @@ _This feature was introduced from [Terraform v0.15.4](https://github.com/hashico
</details>
{{end}}`,
"warning": `{{if .Warning}}
## :warning: Warnings :warning:
## :warning: Warnings
{{wrapCode .Warning}}
{{end}}`,
"error_messages": `{{if .ErrorMessages}}
Expand Down

0 comments on commit 663105c

Please sign in to comment.