diff --git a/penify_hook/commit_analyzer.py b/penify_hook/commit_analyzer.py index 063d6ab..2146968 100644 --- a/penify_hook/commit_analyzer.py +++ b/penify_hook/commit_analyzer.py @@ -72,6 +72,9 @@ def get_repo_details(self): except Exception as e: print(f"Error determining repo details: {e}") + org_name = org_name if org_name else "UNKNOWN_ORG" + repo_name = repo_name if repo_name else "UNKNOWN_REPO" + return { "organization_name": org_name, "repo_name": repo_name, diff --git a/setup.py b/setup.py index d881324..88725f6 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name="penify-cli", - version="0.1.3", # Increment the version number + version="0.1.4", # Increment the version number packages=['penify_hook'], # Explicitly include the penify_hook package install_requires=[ "requests",