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

Commit f2f7812

Browse files
committed
resolve quick bug for results invalid type
1 parent 9fd0ef4 commit f2f7812

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
@@ -91,7 +91,7 @@ def resolve_segments(
9191
else:
9292
return ProviderError()
9393

94-
segments = file_comparison.segments
94+
segments = file_comparison.segments or []
9595

9696
if filters.get("has_unintended_changes") is True:
9797
# segments with no diff changes and at least 1 unintended change

0 commit comments

Comments
 (0)