Skip to content

Commit

Permalink
Fix update log output
Browse files Browse the repository at this point in the history
  • Loading branch information
r15ch13 committed Mar 21, 2018
1 parent cac9975 commit 0daa25c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libexec/scoop-update.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function update_scoop() {
Push-Location $currentdir
git_pull -q
$res = $lastexitcode
git_log --no-decorate --date=local --since="`"$last_update`"" --format="`"format: * %C(yellow)%h%Creset %<|(72,trunc)%s %C(cyan)%cr%Creset`"" HEAD
git_log --no-decorate --date=local --since="`"$last_update`"" --format="`"tformat: * %C(yellow)%h%Creset %<|(72,trunc)%s %C(cyan)%cr%Creset`"" HEAD
if($res -ne 0) {
abort 'Update failed.'
}
Expand All @@ -88,7 +88,7 @@ function update_scoop() {
write-host "Updating '$_' bucket..."
Push-Location (bucketdir $_)
git_pull -q
git_log --no-decorate --date=local --since="`"$last_update`"" --format="`"format: * %C(yellow)%h%Creset %<|(72,trunc)%s %C(cyan)%cr%Creset`"" HEAD
git_log --no-decorate --date=local --since="`"$last_update`"" --format="`"tformat: * %C(yellow)%h%Creset %<|(72,trunc)%s %C(cyan)%cr%Creset`"" HEAD
Pop-Location
}

Expand Down

0 comments on commit 0daa25c

Please sign in to comment.