Skip to content

Commit d8d6736

Browse files
🩹 [Refactor]: Simplify Set-ModuleManifest call and enhance Test-ModuleManifest output formatting in Build-PSModuleManifest.ps1
1 parent 616fae4 commit d8d6736

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ā€Žscripts/helpers/Build/Build-PSModuleManifest.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@
448448
}
449449

450450
LogGroup 'Build manifest file - Format' {
451-
Set-ModuleManifest -Path $outputManifestPath -Verbose
451+
Set-ModuleManifest -Path $outputManifestPath
452452
}
453453

454454
LogGroup 'Build manifest file - Result - After format' {
@@ -460,6 +460,6 @@
460460
}
461461

462462
LogGroup 'Build manifest file - Validate - Test manifest file' {
463-
Test-ModuleManifest -Path $outputManifestPath
463+
Test-ModuleManifest -Path $outputManifestPath | Format-List | Out-String
464464
}
465465
}

0 commit comments

Comments
Ā (0)