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

A small collection of fixes #48

Merged
merged 4 commits into from
Nov 5, 2020
Merged

Conversation

mattcan
Copy link
Contributor

@mattcan mattcan commented Nov 5, 2020

Two main things in here:

(High-fives to @maumercado for finding and suggesting the fix in lowerCaseKeys)

Matthew Cantelon added 3 commits November 5, 2020 07:05
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.
Copy link

@maumercado maumercado left a comment

Choose a reason for hiding this comment

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

one question only

index.js Show resolved Hide resolved
tests/index.test.js Outdated Show resolved Hide resolved
Copy link

@maumercado maumercado left a 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

@mattcan mattcan requested a review from gr2m November 5, 2020 17:06
Copy link
Contributor

@gr2m gr2m left a 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!

@gr2m gr2m merged commit 5685871 into probot:master Nov 5, 2020
@mattcan mattcan deleted the fix/typeerror-null branch November 5, 2020 17:27
@github-actions
Copy link

github-actions bot commented Nov 5, 2020

🎉 This PR is included in version 1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants