Skip to content

Commit a4418b9

Browse files
🪲 [Fix]: Fix issue validating module manifest (#46)
…nifest ## Description - Fix issue requiring dependencies to be installed before validating manifest ## Type of change <!-- Use the check-boxes [x] on the options that are relevant. --> - [ ] 📖 [Docs] - [x] 🪲 [Fix] - [ ] 🩹 [Patch] - [ ] ⚠️ [Security fix] - [ ] 🚀 [Feature] - [ ] 🌟 [Breaking change] ## Checklist <!-- Use the check-boxes [x] on the options that are relevant. --> - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas
1 parent 3b374b0 commit a4418b9

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

scripts/helpers/Build/Build-PSModuleManifest.ps1

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,13 @@ function Build-PSModuleManifest {
368368
Stop-LogGroup
369369
#endregion Format manifest file
370370

371-
Start-LogGroup 'Build manifest file - Validate'
371+
#region Install Prerequsites
372+
Start-LogGroup 'Build manifest file - Validate - Install module dependencies'
373+
Resolve-PSModuleDependency -ManifestFilePath $outputManifestPath
374+
Stop-LogGroup
375+
#endregion Install Prerequsites
376+
377+
Start-LogGroup 'Build manifest file - Validate - Test manifest file'
372378
Test-ModuleManifest -Path $outputManifestPath
373379
Stop-LogGroup
374380
}

0 commit comments

Comments
 (0)