Menu

#135 DocTreeGenerator.psd1 doesn't specify PoSH v3

v1.2.08
closed
nobody
None
1
2015-12-21
2015-09-28
No

DocTreeGenerator.psm1 conatins PoSH v4 specific features

    Get-Command -Module $moduleName |
    where { $_.CommandType -in 'Function','Filter' } |
    ...

But the .psd1 doesn't specify PoSH v3 as the minimum version.

Discussion

  • Dennis Lindqvist

    Need to edit the ticket :/

    DocTreeGenerator.psm1 conatins PoSH v4 specific features

    DocTreeGenerator.psm1 conatins PoSH v3 specific features

    PS C:\> get-command | where { $_.CommandType -in 'Function','Filter' }
    You must provide a value expression on the right-hand side of the '-' operator.
    At line:1 char:39
    + get-command | where { $_.CommandType - <<<< in 'Function','Filter' }
        + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
        + FullyQualifiedErrorId : ExpectedValueExpression
    
     

    Last edit: Dennis Lindqvist 2015-09-28
  • Michael Sorens

    Michael Sorens - 2015-11-08
    • status: open --> pending
    • Group: v1.2.07 --> v1.2.08
     
  • Michael Sorens

    Michael Sorens - 2015-12-21

    Fixed in version 2.0.01 -- now available at https://github.com/msorens/DocTreeGenerator

     
  • Michael Sorens

    Michael Sorens - 2015-12-21
    • status: pending --> closed
     

Log in to post a comment.