Skip to content

Commit 5068362

Browse files
committed
Fix IgnoreAlias
1 parent 1fa9d92 commit 5068362

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Public/Build-Module.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ function Build-Module {
221221
$ParseResult = ConvertToAst $RootModule
222222
$ParseResult | MoveUsingStatements -Encoding "$($ModuleInfo.Encoding)"
223223

224-
if ($PublicFunctions -and -not $ModuleInfo.IgnoreAliasAttribute) {
224+
if ($PublicFunctions -and -not $ModuleInfo.IgnoreAlias) {
225225
if (($AliasesToExport = ($ParseResult | GetCommandAlias)[$PublicFunctions] | ForEach-Object { $_ } | Select-Object -Unique)) {
226226
Update-Metadata -Path $OutputManifest -PropertyName AliasesToExport -Value $AliasesToExport
227227
}

0 commit comments

Comments
 (0)