Skip to content

Commit

Permalink
chore: address PR comments
Browse files Browse the repository at this point in the history
Signed-off-by: Mohammad Abdollahpour <[email protected]>
  • Loading branch information
mabdollahpour-ol committed Oct 28, 2024
1 parent 35b5a9e commit a3f3e15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/macaron/repo_finder/repo_finder_deps_dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def get_project_info(project_url: str) -> dict[str, Any] | None:

request_url = f"https://api.deps.dev/v3alpha/projects/{encode(project_key, safe='')}"
response = send_get_http_raw(request_url)
if response is None or not response.text:
if not (response and response.text):
logger.debug("Failed to retrieve additional repo info for: %s", project_url)
return None

Expand Down

0 comments on commit a3f3e15

Please sign in to comment.