hermes init
fails with cryptic error message in non-git directory
#308
Labels
bug
Something isn't working
When running
hermes init
in a non-git directory, it fails with:This is due to
urlparse()
not "failing" but rather returning empty strings, here:hermes/src/hermes/commands/init/base.py
Line 96 in a67e2f9
It might make sense to wrap
urlparse()
and raise an exception if either ofscheme
ornetloc
is not existent. (Or abort searching for git stuff way earlier.)The text was updated successfully, but these errors were encountered: