Skip to content

Commit

Permalink
Remove duplicate code
Browse files Browse the repository at this point in the history
  • Loading branch information
vbjay committed Dec 15, 2017
1 parent 5b260cc commit 1088a7a
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions TFS Release Notes/Cmdlets/WorkItems/WorkItemCmdlet.vb
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,7 @@ Public MustInherit Class WorkItemCmdlet
Protected currentWorkItems As WorkItem()
Protected Overrides Sub BeginProcessing()
MyBase.BeginProcessing()
Select Case True

Case TFSCollection IsNot Nothing
'we are good
Case TFSCollection Is Nothing AndAlso ServerURL IsNot Nothing

TFSCollection = GetTFSCollection(ServerURL)

End Select

'No need to check for array length because PowerShell handles it for us
WriteVerbose("Retrieving Work Items...")
Expand Down

0 comments on commit 1088a7a

Please sign in to comment.