When running on a multi-template file, it seems the return code only reflects the last segment. For example, this output corresponds to a return code 1:
Validating part 0
ApiV1Only - FAIL
Validating part 1
ApiV1Only - PASS
Validating part 2
ApiV1Only - FAIL
...while this output corresponds to a return code 0:
Validating part 0
ApiV1Only - FAIL
Validating part 1
ApiV1Only - PASS
Validating part 2
ApiV1Only - PASS
I would expect a return code 0 only when all validations pass, and a 1 otherwise.
I will look at making this change and opening a PR - just wanted to document it here first!
When running on a multi-template file, it seems the return code only reflects the last segment. For example, this output corresponds to a return code
1
:...while this output corresponds to a return code
0
:I would expect a return code
0
only when all validations pass, and a1
otherwise.I will look at making this change and opening a PR - just wanted to document it here first!