Skip to content

Mint.Select-DropBlankProperty should drop blank Dictionary/hashtables #140

@ninmonkey

Description

@ninmonkey

Output is not dropping dictionary .Parameters when blank

$t = gcm prompt | select -ExcludeProperty Definition, ScriptBlock
$t | Mint.Object.DropBlankProps | fl * -Force 
CmdletBinding      : False
CommandType        : Function
Name               : prompt
Options            : None
Parameters         : {}
RemotingCapability : PowerShell
Visibility         : Public

It is type Dictionary<2>

Metadata

Metadata

Assignees

No one assigned

    Labels

    CommandCmdlets, Functions, Aliases

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions