Skip to content

Commit 508c96d

Browse files
Friedrich WeinmannFriedrich Weinmann
authored andcommitted
Fixed bad output
1 parent 35b06d0 commit 508c96d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PSModuleDevelopment/functions/assembly/Get-PSMDMember.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444
{
4545
$PSBoundParameters['OutBuffer'] = 1
4646
}
47-
if ($ArgumentType) { $PSBoundParameters.Remove("ArgumentType") }
48-
if ($ReturnType) { $PSBoundParameters.Remove("ReturnType") }
47+
if ($ArgumentType) { $null = $PSBoundParameters.Remove("ArgumentType") }
48+
if ($ReturnType) { $null = $PSBoundParameters.Remove("ReturnType") }
4949
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand('Microsoft.PowerShell.Utility\Get-Member', [System.Management.Automation.CommandTypes]::Cmdlet)
5050
$scriptCmd = { & $wrappedCmd @PSBoundParameters }
5151
$steppablePipeline = $scriptCmd.GetSteppablePipeline($myInvocation.CommandOrigin)

0 commit comments

Comments
 (0)