From 15faf3a33638296ebe91c843ffba4fc32860a80b Mon Sep 17 00:00:00 2001 From: emizzle Date: Fri, 15 Jun 2018 13:23:31 +1000 Subject: [PATCH] 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. --- lib/contracts/contracts.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/contracts/contracts.js b/lib/contracts/contracts.js index 5a544d3a..f53d5fd5 100644 --- a/lib/contracts/contracts.js +++ b/lib/contracts/contracts.js @@ -267,6 +267,8 @@ class ContractsManager { self.compileError = true; self.events.emit("status", __("Compile/Build error")); self.logger.error(__("Error Compiling/Building contracts: ") + err); + }else{ + self.compileError = false; } self.logger.trace("finished".underline); done(err, self);