Skip to content

Commit

Permalink
fix: remove invalid repository exception
Browse files Browse the repository at this point in the history
  • Loading branch information
ziouf committed Nov 15, 2021
1 parent 8ca8dd4 commit 746b62d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions semantic_release/vcs_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
try:
repo = Repo(".", search_parent_directories=True)
except InvalidGitRepositoryError:
# repo = None
raise GitError("Not in a valid git repository")
repo = None

logger = logging.getLogger(__name__)

Expand Down

0 comments on commit 746b62d

Please sign in to comment.