Skip to content

NameError Exception in vcs_helpers.py #422

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mqk opened this issue Mar 1, 2022 · 1 comment
Closed

NameError Exception in vcs_helpers.py #422

mqk opened this issue Mar 1, 2022 · 1 comment
Labels
bug Something isn't working properly help-wanted Extra attention is required

Comments

@mqk
Copy link

mqk commented Mar 1, 2022

The problem

The @check_repo decorator attempts to reference a variable called repo. But if the user isn't in a git repo, then this variable is unset, and that results in a NameError exception.

Expected behavior

No NameError.

Additional context

This bug was introduced in PR#395, semantic_release/vcs_helpers.py.
image

@mqk mqk added the bug Something isn't working properly label Mar 1, 2022
@github-actions
Copy link

This bug report has been labelled as help wanted since there has been no activity in the last 3 weeks. It will not be closed.

@github-actions github-actions bot added the help-wanted Extra attention is required label Mar 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working properly help-wanted Extra attention is required
Projects
None yet
Development

No branches or pull requests

1 participant