aboutsummaryrefslogtreecommitdiffstats
path: root/app/Issue.hs
diff options
context:
space:
mode:
authorLibravatar Alexander Foremny <aforemny@posteo.de>2023-10-04 11:22:23 +0200
committerLibravatar Alexander Foremny <aforemny@posteo.de>2023-10-04 11:22:23 +0200
commitf72c9d076057729d98f12235c00482710d166cf8 (patch)
tree2d7dca5a956e08cbe3b9361e49b433d651e51e10 /app/Issue.hs
parent9b5bd101f7c511a9a0dd4a12a5480ff2628f0b50 (diff)
fix tests
Diffstat (limited to 'app/Issue.hs')
-rw-r--r--app/Issue.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Issue.hs b/app/Issue.hs
index 66047b6..72fbad3 100644
--- a/app/Issue.hs
+++ b/app/Issue.hs
@@ -39,7 +39,7 @@ fromMatch result match =
}
else Nothing
where
- text = stripComments result.file_type match.text
+ text = stripComments result.file_type (T.strip match.text)
lns = T.lines text
title = takeWhile (not . isEmpty) lns
description = drop (length title + 1) lns