microsoft / Requirements

PowerShell framework for declaratively defining and idempotently imposing system configurations
MIT License
159 stars 26 forks source link

Push-Namespace not listed in FunctionsToExport in the PSD #48

Closed FzzyBnny closed 4 years ago

FzzyBnny commented 4 years ago

The current version of the PSD lists the following:

FunctionsToExport = @(
    'Format-Checklist',
    'Format-Verbose',
    'Invoke-Requirement',
    'New-Requirement',
    'Set-Requirement',
    'Test-Requirement'
)

Note, Push-Namespace is not listed and thus not available when module is imported to a PS session.

Unless this is currently intentional, recommend updating the PSD to the following so Push-Namespace is provided:

FunctionsToExport = @(
    'Format-Checklist',
    'Format-Verbose',
    'Invoke-Requirement',
    'New-Requirement',
    'Set-Requirement',
    'Test-Requirement',
    'Push-Namespace'
)
chriskuech commented 4 years ago

Thanks for reporting!

FzzyBnny commented 4 years ago

Thanks for resolving it!

Sent from my iPhone

On Nov 20, 2019, at 11:18, Chris Kuech notifications@github.com wrote:

 Thanks for reporting!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.