Skip to content

Ensure DSC Composite Resource PSD1 does not export Function #36

@gaelcolas

Description

@gaelcolas

When the PSD1 of a Composite Resource is created with New-ModuleManifest, it creates the line:

FunctionsToExport = @()

Which makes the DSC Resource invalid:
Get-DscResource -Name <resourceName> throws.

It'd be good to catch this early in a pester test.

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