Skip to content

Conversation

@daxian-dbw
Copy link
Member

@daxian-dbw daxian-dbw commented Jun 19, 2018

PR Summary

New-ModuleManifest will create a psd1 file with this comment on fields FunctionsToExport, CmdletsToExport and AliasesToExport:

for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.

# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
FunctionsToExport = @()

# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
CmdletsToExport = @()

# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
AliasesToExport = @()

So this PR update our built-in module manifests to follow the best practice.

PR Checklist

@adityapatwardhan adityapatwardhan merged commit bda8fd3 into PowerShell:master Jun 20, 2018
@daxian-dbw daxian-dbw deleted the fixmodule branch June 20, 2018 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants