gaelcolas / gaelcolas/SampleModule

Ensure DSC Composite Resource PSD1 does not export Function

Open
#36 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
43
Forks
8
PR merge metrics
No merged PRs in 30d

Description

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 ` throws.

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.