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

Fix issue where promise-style requests throw an error if no params are passed #270

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ryangiglio
Copy link

With callback-style requests, the params argument is always present whether it's actually a params object or a function. But with promise-style requests, it's possible to make a call without the params argument at all, so we need to check that it's defined before trying to use it.

@markadrake
Copy link

The only checks here that are failing are based on another dependency using const in strict mode.

Will someone please consider merging this sooner than later?

Also are the failing versions of NPM in the CI Build actually supported? Can they be removed?

@peterpme
Copy link

Hey @ryangiglio if you're still interested in a promise implementation, we rewrote node-twitter from the ground up here:

https://github.com/preposterous/twitter-lite

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

3 participants