Closed grabbou closed 8 years ago
With Bluebird 3.x I am getting:
a promise was created in a handler but none were returned from it
that's coming from _loadMoreAsync() function. Not a big deal, but if we can manage to get rid of it, that'd be awesome!
_loadMoreAsync()
I believe a fix would be to just add return at the end of the function as suggested here http://bluebirdjs.com/docs/warning-explanations.html#warning-a-promise-was-created-in-a-handler-but-none-were-returned-from-it. Otherwise, warnings have to be disabled.
return
With Bluebird 3.x I am getting:
that's coming from
_loadMoreAsync()
function. Not a big deal, but if we can manage to get rid of it, that'd be awesome!I believe a fix would be to just add
return
at the end of the function as suggested here http://bluebirdjs.com/docs/warning-explanations.html#warning-a-promise-was-created-in-a-handler-but-none-were-returned-from-it. Otherwise, warnings have to be disabled.