mirror of https://github.com/embarklabs/embark.git
chore(deployment): add logs to tell about pre-deploy
Otherwise there was a long period of time without any input on what's going on
This commit is contained in:
parent
94a8bada7e
commit
d6de169572
|
@ -52,7 +52,14 @@ class DeployManager {
|
||||||
self.logger.info(__("deploying contracts"));
|
self.logger.info(__("deploying contracts"));
|
||||||
async.waterfall([
|
async.waterfall([
|
||||||
function (next) {
|
function (next) {
|
||||||
self.plugins.emitAndRunActionsForEvent("deploy:beforeAll", next);
|
self.logger.info(__('Executing pre-deploy actions...'));
|
||||||
|
self.plugins.emitAndRunActionsForEvent("deploy:beforeAll", (err) => {
|
||||||
|
if (err) {
|
||||||
|
return next(err);
|
||||||
|
}
|
||||||
|
self.logger.info(__('Pre-deploy actions done. Deploying contracts'));
|
||||||
|
next();
|
||||||
|
});
|
||||||
},
|
},
|
||||||
function () {
|
function () {
|
||||||
const contractDeploys = {};
|
const contractDeploys = {};
|
||||||
|
|
Loading…
Reference in New Issue