Merge pull request #773 from clarkorz/fix/bluebird-v3-warning
silence a warning that introduced in bluebird 3.0.x
This commit is contained in:
commit
6cfcc4296f
|
@ -98,7 +98,7 @@ ObserverMixin.notifyObserversOf = function(operation, context, callback) {
|
|||
var retval = fn(context, next);
|
||||
if (retval && typeof retval.then === 'function') {
|
||||
retval.then(
|
||||
function() { next(); },
|
||||
function() { next(); return null; },
|
||||
next // error handler
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue