neumino / rethinkdbdash

An advanced Node.js driver for RethinkDB with a connection pool, support for streams etc.
MIT License
848 stars 108 forks source link

fix: return null where new Promises are created but not returned #309

Closed KristjanTammekivi closed 8 years ago

KristjanTammekivi commented 8 years ago

Bluebird emits warnings when a promise is created in a function but doesn't return it. Since the author wants these to be no-ops we have to return null

This issue is also addressed by #288