aboutsummaryrefslogtreecommitdiffstats
path: root/app/Main.hs
diff options
context:
space:
mode:
authorLibravatar Alexander Foremny <aforemny@posteo.de>2023-11-28 13:18:13 +0100
committerLibravatar Alexander Foremny <aforemny@posteo.de>2023-11-28 13:19:21 +0100
commit490a7fa3a22195ecb4c743d8bfa53f072beb094b (patch)
tree5142cd79918875b6e436d3933cc960aadd920520 /app/Main.hs
parent739c0d06b63bed7619b39eb189c5e5a34fd8da49 (diff)
un-hardcode issue marker
Diffstat (limited to 'app/Main.hs')
-rw-r--r--app/Main.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/Main.hs b/app/Main.hs
index e1b4e18..086f1e6 100644
--- a/app/Main.hs
+++ b/app/Main.hs
@@ -663,8 +663,7 @@ main = do
Nothing -> die (printf "no issue with id `%s'\n" id)
Just issue -> pure issue
let s =
- -- TODO Hardcoded issue marker.
- ("TODO " <> LT.fromStrict issue.title)
+ (LT.fromStrict (T.intercalate " " issue.markers) <> " " <> LT.fromStrict issue.title)
<> maybe "" (("\n\n" <>) . LT.fromStrict) issue.description
if edit
then do