marketplace syndication tool import error: Issue #435

This commit is contained in:
Rakesh Kumar 2019-10-22 18:30:34 -07:00
Родитель de542af5ca
Коммит e128472b05
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -723,9 +723,9 @@ function PreCheck
$configuration = Get-Content $jsonPath | ConvertFrom-Json
$properties = ($configuration | Get-Member -MemberType NoteProperty).Name
## define required properties
$requiredprops = @("displayName","publisherDisplayName","publisherIdentifier","galleryPackageBlobSasUri", "offer", "offerVersion", "sku", "productProperties", "payloadLength", "iconUris", "productKind" )
$requiredprops = @("displayName","publisherDisplayName","publisherIdentifier","galleryPackageBlobSasUri", "productProperties", "payloadLength", "iconUris", "productKind" )
foreach ($property in $requiredprops) {
if ($configuration.$property) {
if (-not [string]::IsNullOrEmpty($configuration.$property)) {
Write-Verbose -Message "$property = $($configuration.$property)"
}
else