Skip to content

Commit 7c0aa18

Browse files
🩹 [Refactor]: Change output format in Build-PSModuleRootModule.ps1 to use Format-List for improved readability of exports
1 parent d8d6736 commit 7c0aa18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎scripts/helpers/Build/Build-PSModuleRootModule.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ $MyInvocation.MyCommand.ScriptBlock.Module.OnRemove = {
130130
$exports.Add('Function', (Get-PSModuleFunctionsToExport -SourceFolderPath $ModuleOutputFolder))
131131
$exports.Add('Variable', (Get-PSModuleVariablesToExport -SourceFolderPath $ModuleOutputFolder))
132132

133-
Write-Host ($exports | Out-String)
133+
[pscustomobject]$exports | Format-List | Out-String
134134
#endregion - Analyze source files
135135

136136
#region - Module header

0 commit comments

Comments
 (0)