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

Pass error as 1st pram of callback as per Node.js convention. (Plus other fixes.) #8

Merged
merged 4 commits into from
Jun 24, 2015

Conversation

yangzai
Copy link
Contributor

@yangzai yangzai commented Jun 20, 2015

Bluebird, as well as many other modules, expects this convention in order to promisify the methods.

Reference: http://rob.conery.io/2012/02/25/nodejs-callback-conventions-and-your-app/

@kevincobain2000
Copy link
Owner

@yangzai Thanks will look into it today.

kevincobain2000 added a commit that referenced this pull request Jun 24, 2015
Pass error as 1st pram of callback as per Node.js convention. (Plus other fixes.)
@kevincobain2000 kevincobain2000 merged commit f693713 into kevincobain2000:master Jun 24, 2015
kevincobain2000 added a commit that referenced this pull request Jun 24, 2015
@kevincobain2000
Copy link
Owner

ありがとう!

@yangzai
Copy link
Contributor Author

yangzai commented Jun 24, 2015

Lol, I'm not Japanese but I do know a bit. Thanks for the merge too. Anyway you might consider incrementing the major version since the old parameters might not be compatible.

kevincobain2000 added a commit that referenced this pull request Jun 24, 2015
@kevincobain2000
Copy link
Owner

@yangzai sorry! your name is yang but I got carried away with ur DP!

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