mirror of
https://github.com/status-im/sourcecred.git
synced 2025-02-17 06:56:36 +00:00
Previously, if a CLI command had an unhandled promise rejection, this would result in a spurious success and zero exit value. This commit causes all of our CLI commands to instead fail if they have an unhandled promise rejection. Test plan: Previously, `sourcecred graph src-d go-git` would claim to succeed, although it actually fails due to an unrelated bug. After this change is applied, it correctly fails to retrieve the GitHub graph (and hte combine step is never run).