Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packaging tool changes for GCP kind of CCP connectors #11667

Merged
merged 13 commits into from
Jan 28, 2025
Merged
Original file line number Diff line number Diff line change
Expand Up @@ -320,5 +320,5 @@ try {
}
}
catch {
Write-Host "Error occured in catch of createSolutionV3 file Error details are $_"
Write-Host "Error occurred in catch of createSolutionV3 file Error details are $_"
}
Original file line number Diff line number Diff line change
Expand Up @@ -3112,6 +3112,9 @@ function PrepareSolutionMetadata($solutionMetadataRawContent, $contentResourceDe
if ($null -ne $global:baseCreateUiDefinition.parameters.steps -and
$($global:baseCreateUiDefinition.parameters.steps).GetType() -ne [System.Object[]]) {
$global:baseCreateUiDefinition.parameters.steps = @($global:baseCreateUiDefinition.parameters.steps)
} elseif ($null -eq $global:baseCreateUiDefinition.parameters.steps) {
# when there is no content then create ui fails as step is null
$global:baseCreateUiDefinition.parameters.steps = @(@{}) # [{}]
}
$global:baseCreateUiDefinition | ConvertTo-Json -Depth $jsonConversionDepth | Out-File $createUiDefinitionOutputPath -Encoding utf8
}
Expand Down
Loading
Loading