Closed duckst3r closed 1 year ago
This is a 🙋♂️ feature or enhancement.
N/A
bundle exec rspec
This change add support for exit 1 return code while running terraspace fmt command with errors.
exit 1
terraspace fmt
Note : I am not a ruby developer, feel free to give me insights to improve the code.
Just test the exit code while running terraspace fmt for the following scenarii :
terraform fmt
exit code 0
exit code 1
Released in terraspace v2.2.7 Thanks!
This is a 🙋♂️ feature or enhancement.
N/A
N/A
bundle exec rspec
to verify this)Summary
This change add support for
exit 1
return code while runningterraspace fmt
command with errors.Note : I am not a ruby developer, feel free to give me insights to improve the code.
How to Test
Just test the exit code while running
terraspace fmt
for the following scenarii :terraform fmt
SHOULD returnexit code 0
.terraform fmt
SHOULD run until the end and SHOULD return aexit code 1
.