Skip to content

StopJobCommand: Remove Unreachable Code - #5091

Merged
Mike Richmond (mirichmo) merged 1 commit into
PowerShell:masterfrom
travisty-:cleanup/stop-job
Oct 16, 2017
Merged

Mike Richmond (mirichmo) merged 1 commit into
PowerShell:masterfrom
travisty-:cleanup/stop-job

Conversation

@travisty-

Copy link
Copy Markdown
Contributor

This code will never get executed, and its logic is
duplicated in the HandleStopJobCompleted() method.

Closes #1696.

This code will never get executed, and its logic is
duplicated in the HandleStopJobCompleted() method.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mirichmo

Copy link
Copy Markdown
Member

Thanks for the contribution Travis Kinney (@travisty-). I'll merge it once we get the tests to pass.

@mirichmo Mike Richmond (mirichmo) changed the title StopJobCommand: Remove duplicate code StopJobCommand: Remove Unreachable Code Oct 13, 2017
@mirichmo
Mike Richmond (mirichmo) merged commit 52f9125 into PowerShell:master Oct 16, 2017
@travisty-
Travis Kinney (travisty-) deleted the cleanup/stop-job branch October 16, 2017 17:07
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj-contribs/PowerShell that referenced this pull request Aug 6, 2026
This code will never get executed, and its logic is
duplicated in the HandleStopJobCompleted() method.
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.

4 participants