Skip to content

Commit

Permalink
Merge pull request #677 from nohwnd/FixHasFlag
Browse files Browse the repository at this point in the history
Fix Has-Flag on Powershell v4 and older
  • Loading branch information
nohwnd authored Jan 13, 2017
2 parents 63eb361 + 369f665 commit a7259f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Pester.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,10 @@ function Has-Flag {
param
(
[Parameter(Mandatory = $true)]
[Pester.OutputTypes]
$Setting,
[Parameter(Mandatory = $true, ValueFromPipeline=$true)]
[Pester.OutputTypes]
$Value
)

Expand Down

0 comments on commit a7259f1

Please sign in to comment.