Skip to content

Commit f5c9eea

Browse files
committed
Fix: Correct return type in git utils.
1 parent 9ee5dec commit f5c9eea

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
66
name = "readmeai"
7-
version = "0.4.04"
7+
version = "0.4.05"
88
description = "🚀 Generate beautiful README.md files from the terminal. Powered by OpenAI's GPT LLMs 💫"
99
authors = ["Eli <[email protected]>"]
1010
license = "MIT"

readmeai/md_builder/__init__.py

Whitespace-only changes.

readmeai/utils/github.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def get_user_repository_name(url_or_path) -> (str, str):
104104
"""
105105

106106
if os.path.exists(url_or_path):
107-
return os.path.basename(url_or_path), "local"
107+
return os.path.basename(url_or_path)
108108

109109
patterns = {
110110
"github": r"https?://github.com/([^/]+)/([^/]+)",

0 commit comments

Comments
 (0)