Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit d68621a

Browse files
Update
1 parent 0e4e747 commit d68621a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphql_api/types/impacted_file/impacted_file.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def resolve_segments(
100100
elif filters.get("has_unintended_changes") is False:
101101
# segments with at least 1 diff change
102102

103-
segments = [segment for segment in segments if segment.has_diff_changes and not segment.has_unintended_changes]
103+
segments = [segment for segment in segments if (segment.has_diff_changes and not segment.has_unintended_changes)]
104104

105105
return SegmentComparisons(results=segments)
106106

0 commit comments

Comments
 (0)