diff --git a/functions/Invoke-ChocoUpgradeIntPackage.ps1 b/functions/Invoke-ChocoUpgradeIntPackage.ps1 index 6a79ed9..e01ae30 100644 --- a/functions/Invoke-ChocoUpgradeIntPackage.ps1 +++ b/functions/Invoke-ChocoUpgradeIntPackage.ps1 @@ -26,7 +26,6 @@ function Invoke-ChocoUpgradeIntPackage { foreach ($Package in $PackageNames){ Write-Verbose ("Upgrading " + $Package.Name) choco upgrade $Package.Name --source $Path --no-progress -y -r | Write-Verbose - #If failure detected in output continue to next package if ($LASTEXITCODE -ne 0){ $Result = 'Upgrade Failed' } @@ -42,4 +41,4 @@ function Invoke-ChocoUpgradeIntPackage { } } } - } \ No newline at end of file + }