Skip to content

Commit a6ddb42

Browse files
author
James Butler
authored
Merge pull request #179 from benny-medflyt/fix-bluebird-warning
Fix warning when using "bluebird"
2 parents ff12236 + 40ed184 commit a6ddb42

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/Pool.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ class Pool extends EventEmitter {
282282
this._trackOperation(wrappedFactoryPromise, this._factoryCreateOperations)
283283
.then((resource) => {
284284
this._handleNewResource(resource)
285+
return null
285286
})
286287
.catch((reason) => {
287288
this.emit(FACTORY_CREATE_ERROR, reason)

0 commit comments

Comments
 (0)