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
$ gitinspector unexisting-folder
Traceback (most recent call last):
File "/usr/local/bin/gitinspector", line 24, in<module>gitinspector.main()
File "/usr/local/lib/node_modules/gitinspector/gitinspector/gitinspector.py", line 140, in main
repos = __get_validated_git_repos__(set(args))
File "/usr/local/lib/node_modules/gitinspector/gitinspector/gitinspector.py", line 121, in __get_validated_git_repos__
cloned_repo.location = basedir.get_basedir_git(cloned_repo.location)
File "/usr/local/lib/node_modules/gitinspector/gitinspector/basedir.py", line 35, in get_basedir_git
os.chdir(path)
OSError: [Errno 2] No such file or directory: '/home/foxy/unexisting-folder'
This could be handles via an error message, so a simple exception catch would do the trick. I am willing to open a PR if necessary.
The text was updated successfully, but these errors were encountered:
This could be handles via an error message, so a simple exception catch would do the trick. I am willing to open a PR if necessary.
The text was updated successfully, but these errors were encountered: