Skip to content

Commit 644f7ae

Browse files
authored
Merge pull request #26 from SingularityX-ai/bug_fix_empty_repo
chore: Update organization and repository names in commit_analyzer.py
2 parents 9501824 + a2a12dd commit 644f7ae

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

penify_hook/commit_analyzer.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ def get_repo_details(self):
7272
except Exception as e:
7373
print(f"Error determining repo details: {e}")
7474

75+
org_name = org_name if org_name else "UNKNOWN_ORG"
76+
repo_name = repo_name if repo_name else "UNKNOWN_REPO"
77+
7578
return {
7679
"organization_name": org_name,
7780
"repo_name": repo_name,

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name="penify-cli",
5-
version="0.1.3", # Increment the version number
5+
version="0.1.4", # Increment the version number
66
packages=['penify_hook'], # Explicitly include the penify_hook package
77
install_requires=[
88
"requests",

0 commit comments

Comments
 (0)