We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0a0bae commit 861c01fCopy full SHA for 861c01f
src/gitingest/parse_query.py
@@ -116,7 +116,11 @@ def _parse_url(url: str) -> dict[str, Any]:
116
_id = str(uuid.uuid4())
117
slug = f"{user_name}-{repo_name}"
118
119
- final_url = f"https://{domain}/{user_name}/{repo_name}" if url.startswith("https://") else f"http://{domain}/{user_name}/{repo_name}"
+ final_url = (
120
+ f"https://{domain}/{user_name}/{repo_name}"
121
+ if url.startswith("https://")
122
+ else f"http://{domain}/{user_name}/{repo_name}"
123
+ )
124
parsed = {
125
"user_name": user_name,
126
"repo_name": repo_name,
0 commit comments