seachicken / gh-poi

✨ Safely clean up your local branches
https://dev.to/seachicken/safely-clean-up-your-local-branches-9i3
MIT License
685 stars 19 forks source link

Make it easier to understand errors when running outside of a git project #103

Open seachicken opened 1 year ago

seachicken commented 1 year ago

Description

Error messages are displayed when running outside of a git project, which makes it difficult to understand the cause of the error.

$ cd ~
$ gh poi
⠋ Fetching pull requests...failed to run external command: git, args: [remote -v]
exit status 128

Additional context