When executing the clear() method I recieve warnings that state
at new Promise (/foo/bar/node_modules/file-system-cache/node_modules/bluebird/js/release/promise.js:77:14)
(node:15947) Warning: a promise was created in a handler at foo/bar/node_modules/file-system-cache/src/cache.js:179:27 but was not returned from it, see http://goo.gl/rRqMUw
This commit fixes the issue since the promises are now properly chained and returned from the wrapping method clear().
Update to typescript transpiler, so promises junk a lot cleaner than the bad old days when this first got written.
Thanks @Inkdpixels and @prashantpalikhe
When executing the clear() method I recieve warnings that state
This commit fixes the issue since the promises are now properly chained and returned from the wrapping method
clear()
.