win_updates - fix category return value to be a list (#51001)

* win_updates - fix category return value to be a list

* remove unstable test alias
This commit is contained in:
Jordan Borean
2019-01-18 05:35:10 +10:00
committed by GitHub
parent 88bb555ab8
commit b7620c161a
3 changed files with 1 additions and 10 deletions

View File

@@ -112,7 +112,7 @@ $update_script_block = {
kb = $update.KBArticleIDs
id = $update.Identity.UpdateId
installed = $false
categories = ($update.Categories | ForEach-Object { $_.Name })
categories = @($update.Categories | ForEach-Object { $_.Name })
}
# validate update again blacklist/whitelist/post_category_names/hidden