Removed the condition check for Group
This commit is contained in:
parent
1dc34d1633
commit
e699d11db0
@ -529,8 +529,6 @@ function CreateOrUpdatePackageWorkItem($lang, $pkg, $verMajorMinor, $existingIte
|
||||
# PackageProp object uses Group, while other places use GroupId, such as in work item fields and package csv files.
|
||||
$pkgGroupId = if ($pkg.PSObject.Properties.Name -contains "GroupId") {
|
||||
$pkg.GroupId
|
||||
} elseif ($pkg.PSObject.Properties.Name -contains "Group") {
|
||||
$pkg.Group
|
||||
} else {
|
||||
$null
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user