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

Firebase admin fix #111

Merged
merged 3 commits into from
Dec 5, 2018
Merged

Firebase admin fix #111

merged 3 commits into from
Dec 5, 2018

Conversation

guybedford
Copy link
Contributor

Fixes #109, as well as improving the CLI error messages.

@codecov-io
Copy link

codecov-io commented Dec 5, 2018

Codecov Report

Merging #111 into master will decrease coverage by 0.5%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #111      +/-   ##
==========================================
- Coverage   75.89%   75.38%   -0.51%     
==========================================
  Files           9        9              
  Lines         448      451       +3     
==========================================
  Hits          340      340              
- Misses        108      111       +3
Impacted Files Coverage Δ
src/cli.js 0% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a833a11...0262f52. Read the comment docs.

// remove me when node.js makes this the default behavior
process.on("unhandledRejection", e => {
throw e;
});
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where is this coming from? We should always try to handle the promises we create. Agreed that it's a good thing to add as a safeguard

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point - I've handled the rejection rather.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do like the safeguard. I strongly dislike Node's default mechanism

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure added it back too!

@rauchg rauchg merged commit e9c220a into master Dec 5, 2018
@rauchg rauchg deleted the firebase-admin branch December 5, 2018 18:59
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

Successfully merging this pull request may close these issues.

None yet

3 participants