Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/worker/services/notification/notifiers/checks/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def _validate_pull_request(

Returns a NotificationResult if validation fails, or None to continue.
"""
if comparison.pull is None or ():
if comparison.pull is None:
log.debug(
"Falling back to commit_status: Not a pull request",
extra={
Expand Down Expand Up @@ -280,7 +280,7 @@ def _build_payload_with_behavior(

def get_line_diff(self, file_diff):
"""
This method traverses a git file diff and returns the lines (as line numbers) that where chnaged
This method traverses a git file diff and returns the lines (as line numbers) that were changed
Note: For now it only looks for line additions on diff, we can quickly add functionality to handle
line deletions if needed

Expand Down
Loading