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

Fixed unnecessary Promise usage #15

Merged
merged 1 commit into from
Feb 5, 2016
Merged

Conversation

joelmukuthu
Copy link
Collaborator

If you ran NODE_ENV=development npm test you would get this warning from bluebird:

Warning: a promise was created in a handler but was not returned from it.

This PR fixes that.

The problem is that if you're testing some other code that uses express-processimage, this warning bubbles up and can take quite a while to debug :)

If you ran `NODE_ENV=development npm test` you would get this
warning from bluebird: "Warning: a promise was created in a handler
but was not returned from it". This fixes that.
@papandreou
Copy link
Owner

Thanks!

The failing test seems unrelated to this PR, as I cannot reproduce it locally. Merging.

papandreou added a commit that referenced this pull request Feb 5, 2016
Fixed unnecessary Promise usage
@papandreou papandreou merged commit 1aae199 into papandreou:master Feb 5, 2016
@papandreou
Copy link
Owner

Released in 4.3.1, added you as a collaborator + npm owner.

@joelmukuthu
Copy link
Collaborator Author

Thanks! :)

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