Skip to content
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

Improve error handling when executed in a repo that has no remotes #2

Closed
chelnak opened this issue Apr 15, 2022 · 0 comments
Closed

Comments

@chelnak
Copy link
Owner

chelnak commented Apr 15, 2022

Current output is:

Error: unable to determine current repository, no git remotes configured for this repository
Usage:
  changelog [args] [flags]

Flags:
  -h, --help      help for changelog
  -v, --version   version for changelog
chelnak added a commit that referenced this issue Apr 15, 2022
This commit adds the foundational code for better error handling. It
largely draws from the code in gh-cli that allows for better error
customization.

It addresses issues #1 and #2.
@chelnak chelnak closed this as completed Apr 15, 2022
@chelnak chelnak reopened this Apr 15, 2022
@chelnak chelnak closed this as completed Apr 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant