Skip to content

Commit

Permalink
fix: ignore apps without pyproject (#26498)
Browse files Browse the repository at this point in the history
  • Loading branch information
ankush committed May 21, 2024
1 parent 2953c16 commit c973d08
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frappe/utils/change_log.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,8 @@ def parse_github_url(remote_url: str) -> tuple[str, str] | tuple[None, None]:
def get_source_url(app: str) -> str | None:
"""Get the remote URL of the app."""
pyproject = get_pyproject(app)
if not pyproject:
return
if remote_url := pyproject.get("project", {}).get("urls", {}).get("Repository"):
return remote_url.rstrip("/")

Expand Down

0 comments on commit c973d08

Please sign in to comment.