mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
Fixes #6935 - Let Bluebird know Promise is not runaway
This commit is contained in:
parent
db3df16c21
commit
b3c88b8c14
1 changed files with 3 additions and 2 deletions
|
@ -255,8 +255,9 @@ ConfigManager.prototype.load = function (configFilePath) {
|
||||||
Promise.resolve(pendingConfig).then(function () {
|
Promise.resolve(pendingConfig).then(function () {
|
||||||
return self.validate();
|
return self.validate();
|
||||||
}).then(function (rawConfig) {
|
}).then(function (rawConfig) {
|
||||||
resolve(self.init(rawConfig));
|
return self.init(rawConfig);
|
||||||
}).catch(reject);
|
}).then(resolve)
|
||||||
|
.catch(reject);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue