You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I initialize a local git repository, executing the code will raise ValueError: Remote named 'origin' didn't exist. I checked the code and found the bug is triggered by the code return cls(commit=str(repo.commit()), remote=repo.remote().url) in file "site-packages/tango/step_info.py", line 80.
🐛 Describe the bug
When I initialize a local git repository, executing the code will raise
ValueError: Remote named 'origin' didn't exist
. I checked the code and found the bug is triggered by the codereturn cls(commit=str(repo.commit()), remote=repo.remote().url)
in file"site-packages/tango/step_info.py", line 80
.I modified the code as below and fixed the bug.
Versions
The text was updated successfully, but these errors were encountered: