Merge pull request #571 from embark-framework/bug_fix/upload-fail-solc-plugin
Fix for embark upload failing when embark-solc plugin is installed.
This commit is contained in:
commit
c492ed97cc
15
lib/index.js
15
lib/index.js
|
@ -346,12 +346,15 @@ class Embark {
|
||||||
})
|
})
|
||||||
.catch(callback);
|
.catch(callback);
|
||||||
});
|
});
|
||||||
|
engine.events.on('check:backOnline:Ethereum', function () {
|
||||||
engine.events.request('deploy:contracts', function (err) {
|
engine.logger.info(__('Ethereum node detected') + '..');
|
||||||
engine.logger.info(__("finished deploying").underline);
|
engine.config.reloadConfig();
|
||||||
if (err) {
|
engine.events.request('deploy:contracts', function (err) {
|
||||||
callback(err);
|
if (err) {
|
||||||
}
|
return;
|
||||||
|
}
|
||||||
|
engine.logger.info(__('Deployment Done'));
|
||||||
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
], function (err, _result) {
|
], function (err, _result) {
|
||||||
|
|
Loading…
Reference in New Issue