Skip to content

Commit 11775bb

Browse files
🩹 [Refactor]: Simplify alias output in Update-PSModuleManifestAliasesToExport.ps1 for improved readability
1 parent 0bf7009 commit 11775bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎scripts/helpers/Build/Update-PSModuleManifestAliasesToExport.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@
8585

8686
Write-Host "Found aliases: [$($allAliases.Count)]"
8787
foreach ($alias in $allAliases) {
88-
Write-Host " - [$($alias.Name)]"
88+
Write-Host " - [$alias]"
8989
}
9090
$outputManifestPath = Join-Path -Path $ModuleSourceFolder -ChildPath "$ModuleName.psd1"
9191
Write-Host "Output manifest path: [$outputManifestPath]"
9292
Write-Host 'Setting module manifest with AliasesToExport'
93-
Set-ModuleManifest -Path $outputManifestPath -AliasesToExport $allAliases.Name -Verbose
93+
Set-ModuleManifest -Path $outputManifestPath -AliasesToExport $allAliases -Verbose
9494
}
9595
}

0 commit comments

Comments
 (0)