Skip to content

Commit

Permalink
provide processing counter for packages
Browse files Browse the repository at this point in the history
improves stdout by providing simple counter. helpful for knowing
todo progress on very large package repos
  • Loading branch information
rismoney committed Nov 8, 2017
1 parent 9dd0b93 commit 4a9722d
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 4a9722d

Please sign in to comment.