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

Import toArray() in promisify #5

Merged
merged 1 commit into from
Jan 24, 2019
Merged

Import toArray() in promisify #5

merged 1 commit into from
Jan 24, 2019

Conversation

huw
Copy link
Contributor

@huw huw commented Jan 24, 2019

Currently, trying to promisify something gives a ReferenceError: Can't find variable: toArray. Looking at the code for promisify, it looks like toArray() is being used without importing it first.

I checked to see if toArray() is supposed to be imported as a global, but couldn't find any evidence for it. So I assume this is a real bug. Feel free to change the commit if there's a specific style you want to follow.

I tested this on a local install, and it works correctly.

Copy link
Member

@mathieudutour mathieudutour left a comment

Choose a reason for hiding this comment

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

Thanks!

@mathieudutour mathieudutour merged commit 61a9585 into skpm:master Jan 24, 2019
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