diff options
author | Alexander Foremny <aforemny@posteo.de> | 2023-10-05 09:46:55 +0200 |
---|---|---|
committer | Alexander Foremny <aforemny@posteo.de> | 2023-10-05 09:46:55 +0200 |
commit | 1890844c731b4c5c648b1871193947144aefa3dd (patch) | |
tree | d4d44e7369d039d3b18e91b9696004a51a01ea87 /app/Main.hs | |
parent | ed2a9d64f07656956b76442ed91b41981b912a60 (diff) |
refactor issue text extraction
Diffstat (limited to 'app/Main.hs')
-rw-r--r-- | app/Main.hs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/Main.hs b/app/Main.hs index cc8bde3..f48d824 100644 --- a/app/Main.hs +++ b/app/Main.hs @@ -166,9 +166,7 @@ showMatches issues = do P.vsep ( concat [ [P.annotate P.bold (P.pretty issue.title)], - if not (T.null issue.description) - then [P.pretty issue.description] - else [], + maybe [] ((: []) . P.pretty) issue.description, map ( \(I.Tag k v) -> P.annotate (P.colorDull P.Yellow) $ |