Skip to content

Commit b613f45

Browse files
Add validation for module manifest file in main.ps1
1 parent 5a9ac0b commit b613f45

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/main.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ switch ($settings) {
1919
'Module' {
2020
$modulePath = Resolve-Path -Path "outputs/module/$moduleName" | Select-Object -ExpandProperty Path
2121
$manifestFilePath = Join-Path -Path $modulePath "$moduleName.psd1"
22+
Test-ModuleManifest -Path $manifestFilePath -Verbose
2223
Write-Verbose " - Manifest file path: [$manifestFilePath]" -Verbose
2324
Resolve-PSModuleDependency -ManifestFilePath $manifestFilePath
2425
$PSModulePath = $env:PSModulePath -split [System.IO.Path]::PathSeparator | Select-Object -First 1

0 commit comments

Comments
 (0)