Skip to content

Commit

Permalink
fix: Initialize-WARAImpactedResources doesn't work correctly if Retir…
Browse files Browse the repository at this point in the history
…ements is empty.
  • Loading branch information
kpoineal committed Feb 5, 2025
1 parent 104e758 commit 004109d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/modules/wara/analyzer/2_wara_data_analyzer.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -341,14 +341,19 @@ function Initialize-WARAImpactedResources
{
Param(
[Parameter(mandatory = $true)]
[AllowEmptyCollection()]
$ImpactedResources,
[Parameter(mandatory = $true)]
[Parameter(mandatory = $false)]
[AllowEmptyCollection()]
$Advisory,
[Parameter(mandatory = $true)]
[Parameter(mandatory = $false)]
[AllowEmptyCollection()]
$Retirements,
[Parameter(mandatory = $true)]
[AllowEmptyCollection()]
$ScriptDetails,
[Parameter(mandatory = $true)]
[AllowEmptyCollection()]
$RecommendationsUrl
)

Expand Down

0 comments on commit 004109d

Please sign in to comment.