Skip to content

Commit

Permalink
force arr
Browse files Browse the repository at this point in the history
  • Loading branch information
KelvinTegelaar committed Jan 12, 2025
1 parent 0a17f7b commit 1879b57
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ function Invoke-ExecStandardConvert {

if ($Tenant -eq 'AllTenants' -and $Excluded) {
$ExcludedArr = $Excluded | ForEach-Object { $_ }
$NewTemplate | Add-Member -NotePropertyName 'excludedTenants' -NotePropertyValue $ExcludedArr -Force
$NewTemplate | Add-Member -NotePropertyName 'excludedTenants' -NotePropertyValue @($ExcludedArr) -Force
}

return $NewTemplate
Expand Down

0 comments on commit 1879b57

Please sign in to comment.