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);
|
||||
});
|
||||
|
||||
engine.events.request('deploy:contracts', function (err) {
|
||||
engine.logger.info(__("finished deploying").underline);
|
||||
if (err) {
|
||||
callback(err);
|
||||
}
|
||||
engine.events.on('check:backOnline:Ethereum', function () {
|
||||
engine.logger.info(__('Ethereum node detected') + '..');
|
||||
engine.config.reloadConfig();
|
||||
engine.events.request('deploy:contracts', function (err) {
|
||||
if (err) {
|
||||
return;
|
||||
}
|
||||
engine.logger.info(__('Deployment Done'));
|
||||
});
|
||||
});
|
||||
}
|
||||
], function (err, _result) {
|
||||
|
|
Loading…
Reference in New Issue