Skip to content

Commit

Permalink
Update src/gitingest/parse_query.py
Browse files Browse the repository at this point in the history
Co-authored-by: Filip Christiansen <[email protected]>
  • Loading branch information
cyclotruc and filipchristiansen authored Jan 1, 2025
1 parent 861c01f commit fad65fe
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/gitingest/parse_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,6 @@ def _parse_url(url: str) -> dict[str, Any]:
_id = str(uuid.uuid4())
slug = f"{user_name}-{repo_name}"

final_url = (
f"https://{domain}/{user_name}/{repo_name}"
if url.startswith("https://")
else f"http://{domain}/{user_name}/{repo_name}"
)
parsed = {
"user_name": user_name,
"repo_name": repo_name,
Expand Down

0 comments on commit fad65fe

Please sign in to comment.