mirror of
https://github.com/actions/versions-package-tools.git
synced 2025-12-10 03:13:23 +00:00
Refactoring
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user