mirror of https://github.com/embarklabs/embark.git
throw exception when finding CyclingDependencyError
This commit is contained in:
parent
52953a1d0d
commit
7cdba7e4e3
|
@ -212,7 +212,8 @@ class ContractsManager {
|
|||
this.logger.error(("Error: " + e.message).red);
|
||||
this.logger.error("there are two or more contracts that depend on each other in a cyclic manner".bold.red);
|
||||
this.logger.error("Embark couldn't determine which one to deploy first".red);
|
||||
process.exit(0);
|
||||
throw new Error("CyclicDependencyError");
|
||||
//process.exit(0);
|
||||
}
|
||||
|
||||
let newList = contractList.sort(function (a, b) {
|
||||
|
|
Loading…
Reference in New Issue