only show the first line of a comment body
This commit is contained in:
parent
338936dd54
commit
10e7e30150
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ class GitHub(object):
|
|||
return outputs
|
||||
|
||||
def _comment(self, s):
|
||||
s_line = utils.parse.line_normalise(s)
|
||||
s = s.split("\n")[0].strip()
|
||||
left, right = s_line[:COMMENT_MAX], s_line[COMMENT_MAX:]
|
||||
if not right:
|
||||
return left
|
||||
|
|
Loading…
Reference in a new issue