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

fix: Handle unhandled promise rejections in bin #255

Merged
merged 1 commit into from May 16, 2022

Commits on May 16, 2022

  1. fix: Handle unhandled promise rejections in bin

    When using Node 12/14 + allowlisting using the old advisory format,
    the unexpectedly pipeline passes because Node 12/14 does not throw
    an error with unhandled promise rejections.
    
    Now, instead, we handle promise rejections at the root and
    explicitly process.exit(1).
    quinnturner committed May 16, 2022
    Copy the full SHA
    5bf9da2 View commit details
    Browse the repository at this point in the history