Closed jtyers closed 5 years ago
This PR removes use of Promise.defer(), which is deprecated and causes bluebird , and perhaps other Promise libraries, to emit console warnings when used. The supported way of doing things is to use new Promise(...) instead.
Promise.defer()
bluebird
new Promise(...)
Fixes #17.
@jtyers Thank you for the PR, and my apologies for the delay in merging this.
This PR removes use of
Promise.defer()
, which is deprecated and causesbluebird
, and perhaps other Promise libraries, to emit console warnings when used. The supported way of doing things is to usenew Promise(...)
instead.Fixes #17.