Skip to content

Commit

Permalink
Merge pull request #146 from ministryofjustice/bug/fix-tfvars
Browse files Browse the repository at this point in the history
Fix error with terraform fmt auto.tfvars.json
  • Loading branch information
davidkelliott authored Jul 15, 2022
2 parents 0b68840 + 29fc37d commit 3f2c0db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code-formatter/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ runs:
python3 -m autopep8 --in-place $file
elif [[ $file == *".rb"* ]]; then
bundle exec standardrb --fix $file
elif [[ $file == *".tf"* ]]; then
elif [[ $file == *".tf" ]] || [[ $file == *".tfvars" ]]; then
terraform fmt $file
elif [[ $file == *".html.md.erb" ]]; then
bundle exec erblint -a $file
Expand Down

0 comments on commit 3f2c0db

Please sign in to comment.