Fix for starting embark with a contract that has an error, then fixing, seems to still break the pipeline.

Needed to reset the `compileError` flag once compilation succeeded.
This commit is contained in:
emizzle 2018-06-15 13:23:31 +10:00 committed by Iuri Matias
parent 1acea7b178
commit 15faf3a336
1 changed files with 2 additions and 0 deletions

View File

@ -267,6 +267,8 @@ class ContractsManager {
self.compileError = true; self.compileError = true;
self.events.emit("status", __("Compile/Build error")); self.events.emit("status", __("Compile/Build error"));
self.logger.error(__("Error Compiling/Building contracts: ") + err); self.logger.error(__("Error Compiling/Building contracts: ") + err);
}else{
self.compileError = false;
} }
self.logger.trace("finished".underline); self.logger.trace("finished".underline);
done(err, self); done(err, self);