Closed tongueroo closed 1 year ago
@tongueroo Are you sure this is correct? I was looking at this code with the intention of adding a --check
option, but couldn't understand how exit status was being tracked. If there are multiple directories, some with errors, some without, doesn't the exit status of the 'last' directory win?
Fixed in https://github.com/boltops-tools/terraspace/commit/352e639ac09eabfa7575c8b0f061bc6176eae374 Fix release in terraspace 2.2.8
Thanks so much again for catching this and pointing it out!
This is a 🙋♂️ feature or enhancement.
bundle exec rspec
to verify this)Summary
Some refactoring/cleanup of #308
Context
related #308
How to Test
terraspace fmt
and check the exit status, echo $? . It looks liketerraform fmt
returns 2 and terraspace passes that back up toterraspace fmt
terraspace fmt
and check the exit status, echo $?. That returns 0.Version Changes
Patch