Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

Commit

Permalink
Merge pull request #110 from rismoney/progressctr
Browse files Browse the repository at this point in the history
provide processing counter for packages
  • Loading branch information
majkinetor authored Nov 9, 2017
2 parents 4916b3d + 4a9722d commit 4d6974a
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 @@ -131,7 +131,7 @@ function Update-AUPackages {
}


$message = $pkg.Name + ' '
$message = "[$($p)/$($aup.length)] " + $pkg.Name + ' '
$message += if ($pkg.Updated) { 'is updated to ' + $pkg.RemoteVersion } else { 'has no updates' }
if ($pkg.Updated -and $Options.Push) {
$message += if (!$pkg.Pushed) { ' but push failed!' } else { ' and pushed'}
Expand Down

0 comments on commit 4d6974a

Please sign in to comment.