-
Notifications
You must be signed in to change notification settings - Fork 36
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
A small collection of fixes #48
Conversation
When the `done` function was removed in probot#18, the tests were not updated
This will fix probot#34 by setting a default value on the `lowerCaseKeys` function. You can get into this state when setting up a test/demo incorrectly or using a lambda warmer (like serverless-warmup). I am immediately returning because then a clear error can be shown.
Continues work started in probot#18
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one question only
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with @gr2m suggestion
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thank you!
🎉 This PR is included in version 1.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Two main things in here:
lowerCaseKeys
because it is possible to send in an event without headers. In production, we saw this occurring withserverless-warmup
plugin sending no headers.done()
usage(High-fives to @maumercado for finding and suggesting the fix in
lowerCaseKeys
)