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

Return error to callback #155

Merged
merged 1 commit into from
Jul 21, 2022
Merged

Return error to callback #155

merged 1 commit into from
Jul 21, 2022

Conversation

karlhorky
Copy link
Contributor

Thanks for your work on vimeo.js!

The first argument of the callback should be an error, not a buffer.

cc @aaronm67

@CLAassistant
Copy link

CLAassistant commented Jul 21, 2022

CLA assistant check
All committers have signed the CLA.

@karlhorky
Copy link
Contributor Author

By the way, these types of errors would be caught by TypeScript if this project would be open to converting...

@aaronm67
Copy link

Thanks - definitely a bug, will release this tomorrow in a 2.2 version bump.

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.

None yet

4 participants