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

Commit 3929f05

Browse files
committed
review
1 parent ca99ee9 commit 3929f05

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

graphql_api/types/commit/commit.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -211,10 +211,7 @@ def get_sorted_path_contents(
211211
if len(report_paths.paths) == 0:
212212
# we do not know about this path
213213

214-
if (
215-
not path
216-
or path_service.provider_path_exists(path, commit, current_owner) is False
217-
):
214+
if path_service.provider_path_exists(path, commit, current_owner) is False:
218215
# file doesn't exist
219216
return UnknownPath(f"path does not exist: {path}")
220217

0 commit comments

Comments
 (0)