Skip to content

Commit 0eb89c9

Browse files
authored
Merge pull request #3 from vanya909/fix-checking-for-task-in-message
Fix checking for ticket number by making it case insensitive.
2 parents b31f4b5 + 962a376 commit 0eb89c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pre_ticket/tickets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def is_ticket_in_message(contents, ticket):
2424
if stripped == "" or stripped.startswith("#"):
2525
continue
2626

27-
if ticket in stripped:
27+
if ticket.lower() in stripped:
2828
return True
2929

3030

0 commit comments

Comments
 (0)