Skip to content

Commit

Permalink
Fix (modulemanifest): Export functions instead of cmdlets
Browse files Browse the repository at this point in the history
  • Loading branch information
leojonathanoh committed May 28, 2021
1 parent 58588f2 commit 40ddee0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions build/definitions/modulemanifest/definition.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
# TypesToProcess = @()
# FormatsToProcess = @()
# NestedModules = @()
FunctionsToExport = @()
CmdletsToExport = @(
'Generate-DockerImageVariants'
FunctionsToExport = @(
Get-ChildItem $PSScriptRoot/../../../src/Generate-DockerImageVariants/public -Exclude *.Tests.ps1 | % { $_.BaseName }
)
CmdletsToExport = @()
VariablesToExport = @()
AliasesToExport = @()
# DscResourcesToExport = @()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ PowerShellVersion = '3.0'
# NestedModules = @()

# 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 = @()
FunctionsToExport = 'Generate-DockerImageVariants'

# 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 = 'Generate-DockerImageVariants'
CmdletsToExport = @()

# Variables to export from this module
# VariablesToExport = @()
Expand Down

0 comments on commit 40ddee0

Please sign in to comment.