Skip to content

Commit

Permalink
fix bug with counter not showing up on errs
Browse files Browse the repository at this point in the history
  • Loading branch information
rismoney committed Nov 9, 2017
1 parent 4d6974a commit b40596a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AU/Public/Update-AUPackages.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ function Update-AUPackages {
$message += if (!$pkg.Pushed) { ' but push failed!' } else { ' and pushed'}
}
if ($pkg.Error) {
$message = "$($pkg.Name) ERROR: "
$message = "[$($p)/$($aup.length)] $($pkg.Name) ERROR: "
$message += $pkg.Error.ToString() -split "`n" | % { "`n" + ' '*5 + $_ }
}
Write-Host ' ' $message
Expand Down

0 comments on commit b40596a

Please sign in to comment.