gabriel / muse public
fix patch fix/hub-repo-delete-exit-code #1 / 1
gabriel · 63 days ago · Apr 13, 2026 · Diff

fix: replace ExitCode.GENERIC_ERROR with USER_ERROR in hub repo delete

ExitCode enum has no GENERIC_ERROR member — raised AttributeError when user ran hub repo delete without --yes. USER_ERROR (exit 1) is the correct code.

sha256:db98230491b67b5361d3a072e196a9fee2a576c142d004b4a3953ae15631c0bf sha
sha256:d402437272bfa456127b555659bc2698314952767bc4279b52aaaa5645f3f8b7 snapshot
← Older Oldest on fix/hub-repo-delete-exit-code
All commits
Newer → Latest on fix/hub-repo-delete-exit-code

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:db98230491b67b5361d3a072e196a9fee2a576c142d004b4a3953ae15631c0bf --body "your comment"