Skip to content

Commit

Permalink
Merge pull request #21 from theohbrothers/fix/modulemanifest-export-f…
Browse files Browse the repository at this point in the history
…unctions-instead-of-cmdlets

Fix (modulemanifest): Export functions instead of cmdlets
  • Loading branch information
leojonathanoh authored May 28, 2021
2 parents e8d7493 + e076428 commit 3e610a6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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 = @(
'Get-DuplicateItem'
FunctionsToExport = @(
Get-ChildItem $PSScriptRoot/../../../src/Get-DuplicateItem/public -Exclude *.Tests.ps1 | % { $_.BaseName }
)
CmdletsToExport = @()
VariablesToExport = @()
AliasesToExport = @()
# DscResourcesToExport = @()
Expand Down
6 changes: 3 additions & 3 deletions src/Get-DuplicateItem/Get-DuplicateItem.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Generated by: The Oh Brothers
#
# Generated on: 5/25/21
# Generated on: 5/28/21
#

@{
Expand Down 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 = 'Get-DuplicateItem'

# 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 = 'Get-DuplicateItem'
CmdletsToExport = @()

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

0 comments on commit 3e610a6

Please sign in to comment.