Skip to content

refactor: remove redundant else branches#344

Open
tenthirtyam wants to merge 1 commit into
hashicorp:mainfrom
tenthirtyam:refactor/remove-redundant-else-branches
Open

refactor: remove redundant else branches#344
tenthirtyam wants to merge 1 commit into
hashicorp:mainfrom
tenthirtyam:refactor/remove-redundant-else-branches

Conversation

@tenthirtyam

Copy link
Copy Markdown

Description

Removes unnecessary else clauses after terminating statements.

Resolved Issues

Redundant else clauses in if statements that contain a return.

Rollback Plan

Revert commit.

Changes to Security Controls

None.

Removes unnecessary `else` clauses after terminating statements.

Signed-off-by: Ryan Johnson <ryan@tenthirtyam.org>
@tenthirtyam
tenthirtyam requested a review from a team as a code owner July 24, 2026 03:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant