gaelcolas / gaelcolas/SampleModule
Ensure DSC Composite Resource PSD1 does not export Function
Open
- 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.