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

Make it not broken #5

Merged
merged 3 commits into from
Feb 17, 2019
Merged

Make it not broken #5

merged 3 commits into from
Feb 17, 2019

Conversation

JasonEtco
Copy link
Owner

Pointed out in #3, this PR fixes a bug where in the entrypoint.js file (a file that isn't covered by the tests), we're importing Toolkit as a default export, but it should be a named export:

- const Toolkit = require('actions-toolkit')
+ const { Toolkit } = require('actions-toolkit')

I'll take a look at minimizing the work in entrypoint.js to avoid things like this in the future.

Closes #3

@JasonEtco JasonEtco merged commit d10d7bc into master Feb 17, 2019
@JasonEtco JasonEtco deleted the fix-bugs branch February 17, 2019 17:42
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.

Action throws "Toolkit is not a constructor" error
1 participant