mirror of
https://github.com/thelounge/thelounge
synced 2024-11-11 15:07:14 +00:00
Fix a bug in comment meta tag detection
This commit is contained in:
parent
8e2b64d8b1
commit
f832f8e65b
1 changed files with 1 additions and 1 deletions
|
@ -525,7 +525,7 @@ function hasLabel(labels, expected) {
|
|||
function hasAnnotatedComment(comments, expected) {
|
||||
return comments && comments.nodes.some(({authorAssociation, body}) =>
|
||||
["OWNER", "MEMBER"].includes(authorAssociation) &&
|
||||
body.split("\n").includes(`[${expected}]`)
|
||||
body.split("\r\n").includes(`[${expected}]`)
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue