Skip to content

named export instead of default export #6

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

Merged
merged 2 commits into from
Oct 17, 2018
Merged

Conversation

itaditya
Copy link
Contributor

@itaditya itaditya commented Sep 30, 2018

Here serverless is a named export

so it should be used like

const { serverless } = require('@probot/serverless-lambda')

View rendered README.md

Copy link
Member

@JasonEtco JasonEtco left a comment

Choose a reason for hiding this comment

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

Thanks @itaditya! 🎉

@JasonEtco JasonEtco merged commit 0f081c9 into probot:master Oct 17, 2018
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.

2 participants