Skip to content

No results from Invoke-PSCodeHealth #16

@mattmcnabb

Description

@mattmcnabb

Not sure what I'm doing wrong here, but when I run Invoke-PSCodeHealth against any module I have created, I get no results from any of the metrics, other than number of files. I created a simple test module called HealthModule:

function Get-Something
{
    param
    (
        $Param1
    )
}

function Get-Nothing
{
    param
    (
        $Param1
    )
}

Export-ModuleMember -function *

And then ran:

image

I got the same result when running against a couple of production modules with many functions in a psm1 file.

This is module version 0.2.9, on Windows 7 running PowerShell 5.1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions