Refactoring

This commit is contained in:
Yuriy-Kukushkin
2021-09-09 18:03:55 +03:00
committed by GitHub
parent f72b7a85c7
commit f07ff8ddf9

View File

@@ -17,7 +17,7 @@ function Publish-Error {
) )
echo "::error ::$ErrorDescription" echo "::error ::$ErrorDescription"
if(-not [string]::IsNullOrEmpty($Exception)) if (-not [string]::IsNullOrEmpty($Exception))
{ {
Write-Output "Exception: $Exception" Write-Output "Exception: $Exception"
} }
@@ -67,7 +67,6 @@ $manifestJson | ForEach-Object {
} }
} }
if($Global:validationFailed) if ($Global:validationFailed) {
{
exit 1 exit 1
} }