Skip to content

Refactor complex if statement - #14398

Merged
Andrew (anmenaga) merged 12 commits into
PowerShell:masterfrom
xtqqczze:cond-GetCommandCommand
Dec 17, 2020
Merged

Refactor complex if statement#14398
Andrew (anmenaga) merged 12 commits into
PowerShell:masterfrom
xtqqczze:cond-GetCommandCommand

Conversation

@xtqqczze

Copy link
Copy Markdown
Contributor

While working on #14242, I found a particular complex if statement, so I've refactored it to be more readable.

I've split the refactoring into logical steps to to ease review.

Contributes to #14242.

@xtqqczze

Copy link
Copy Markdown
Contributor Author

Blocking #14242

@anmenaga Andrew (anmenaga) added the CL-CodeCleanup Indicates that a PR should be marked as a Code Cleanup change in the Change Log label Dec 17, 2020
@anmenaga
Andrew (anmenaga) merged commit 669bcd7 into PowerShell:master Dec 17, 2020
@xtqqczze
xtqqczze deleted the cond-GetCommandCommand branch December 17, 2020 01:46
@iSazonov Ilya (iSazonov) added this to the 7.2.0-preview.3 milestone Dec 17, 2020
@ghost

Copy link
Copy Markdown

🎉v7.2.0-preview.3 has been released which incorporates this pull request.:tada:

Handy links:

Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj/PowerShell that referenced this pull request Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-CodeCleanup Indicates that a PR should be marked as a Code Cleanup change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants