Skip to content

Commit 8562aaa

Browse files
🩹 [Refactor]: Update output formatting in main.ps1 for improved readability
1 parent 16f218a commit 8562aaa

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

‎scripts/main.ps1

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,15 @@ LogGroup 'Loading inputs' {
2121
} else {
2222
$env:PSMODULE_BUILD_PSMODULE_INPUT_Name
2323
}
24-
Write-Host "Module name: [$moduleName]"
2524
Set-GitHubOutput -Name ModuleName -Value $moduleName
2625

2726
$sourceFolderPath = Resolve-Path -Path 'src' | Select-Object -ExpandProperty Path
2827
$moduleOutputFolderPath = Join-Path . -ChildPath 'outputs/module'
29-
Write-Host "Modules output path: [$moduleOutputFolderPath]"
3028
[pscustomobject]@{
3129
moduleName = $moduleName
3230
sourceFolderPath = $sourceFolderPath
3331
moduleOutputFolderPath = $moduleOutputFolderPath
34-
} | Format-List
32+
} | Format-List | Out-String
3533
}
3634

3735
LogGroup 'Build local scripts' {

0 commit comments

Comments
 (0)