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

Commit

Permalink
Fix for #210
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexChesters committed Oct 19, 2015
1 parent 2c7c6f3 commit 855ee41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ghi
Original file line number Diff line number Diff line change
Expand Up @@ -2029,7 +2029,7 @@ module GHI
l = 9 + nmax + rmax + no_color { format_labels labels }.to_s.length
a = i['assignee'] && i['assignee']['login'] == Authorization.username
l += 2 if a
p = i['pull_request']['html_url'] and l += 2
p = i['pull_request']['html_url'] and l += 2 if i['pull_request']
c = i['comments']
l += c.to_s.length + 1 unless c == 0
m = i['milestone']
Expand Down
2 changes: 1 addition & 1 deletion lib/ghi/formatting.rb
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def format_issues issues, include_repo
l = 9 + nmax + rmax + no_color { format_labels labels }.to_s.length
a = i['assignee'] && i['assignee']['login'] == Authorization.username
l += 2 if a
p = i['pull_request']['html_url'] and l += 2
p = i['pull_request']['html_url'] and l += 2 if i['pull_request']
c = i['comments']
l += c.to_s.length + 1 unless c == 0
m = i['milestone']
Expand Down

0 comments on commit 855ee41

Please sign in to comment.