Skip to content

Commit

Permalink
better show for Issue type
Browse files Browse the repository at this point in the history
  • Loading branch information
WestleyArgentum committed Mar 2, 2014
1 parent 636092d commit d4cb62f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/issues.jl
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ end
function show(io::IO, issue::Issue)
print(io, "$Issue #$(issue.number)")

if issue.state != nothing && !isempty(issue.state)
print(io, " ($(issue.state))")
end

if issue.title != nothing && !isempty(issue.title)
print(io, " - \"$(issue.title)\"")
end
Expand Down

0 comments on commit d4cb62f

Please sign in to comment.