0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/server/lib
Aileen Nowak ae741b1a18 Removed bluebird promise wrap in request lib (#9343)
refs #9178, refs #8988

With 7353c87d7f we use Bluebird globally for Promises. Therefore, the request lib doesn't need to be wrapped in a bluebird Promise anymore.

This was originally done, so we can work with catch predicated in our image-size lib.

Updated the tests to proof, that the catch predicates work.

The tests fail, as soon as the Promise overwrite is commented out.
2018-01-02 12:18:56 +01:00
..
common Moved labs, auth, permissions, settings, mail, themes to services (#9339) 2017-12-14 03:01:23 +01:00
fs Moved zip folder, read csv and package-json to lib/fs 2017-12-14 22:07:53 +01:00
image Moved image utils to lib/image 2017-12-14 20:46:53 +01:00
mobiledoc Moved default-cards app to lib/mobiledoc (#9341) 2017-12-14 14:44:01 +00:00
promise Moved pipeline/sequence to lib/promise 2017-12-13 22:20:02 +01:00
security Moved unique identifier generation to lib/security 2017-12-14 13:52:20 +01:00
social Moved social utility to lib/social 2017-12-14 22:34:05 +01:00
constants.js Moved utils constants to lib/constants 2017-12-14 14:13:40 +01:00
ghost-version.js Moved ghost-version to lib 2017-12-14 22:14:55 +01:00
request.js Removed bluebird promise wrap in request lib (#9343) 2018-01-02 12:18:56 +01:00