Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #77, Combine consecutive, mutually-exclusive status checks #78

Conversation

thnkslprpt
Copy link
Contributor

Checklist

Describe the contribution
Fixes #77
Combined 2 consecutive, mutually exclusive status checks (no need to evaluate twice).

Also moved failure the event down to what I believe is a clearer pattern (and more common in cFS) of the successful series of operations together and failure events (in the else blocks) all together cascading backwards below.

Testing performed
GitHub CI actions (incl. Build + Run, Unit Tests etc.) all passing successfully.

Expected behavior changes
No change to logic. No test changes required. Coverage still at 100%.

Contributor Info
Avi Weiss @thnkslprpt

@thnkslprpt thnkslprpt force-pushed the fix-77-combine-consecutive-mutually-exclusive-status-checks branch from 49f95bc to 43a17cf Compare March 14, 2023 03:17
@dzbaker dzbaker merged commit 7697f3f into nasa:main Mar 30, 2023
@thnkslprpt thnkslprpt deleted the fix-77-combine-consecutive-mutually-exclusive-status-checks branch March 30, 2023 20:50
@dmknutsen dmknutsen added this to the Equuleus milestone May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Combine consecutive mutually exclusive status checks into an if/else
4 participants