mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-26 23:20:29 +00:00
fix issue with deploying multiple indepedent contracts
This commit is contained in:
parent
77b1e333ed
commit
bc1af4ec25
@ -48,8 +48,8 @@ module.exports = (grunt) ->
|
||||
contractDB[className] = contract
|
||||
|
||||
all_contracts.sort (a,b) =>
|
||||
contract_1 = contractDependencies[a]
|
||||
contract_2 = contractDependencies[b]
|
||||
contract_1 = contractDependencies[a]? or []
|
||||
contract_2 = contractDependencies[b]? or []
|
||||
|
||||
if a in contract_1 and b in contract_2
|
||||
grunt.log.writeln("looks like you have a circular dependency between #{a} and #{b}")
|
||||
|
Loading…
x
Reference in New Issue
Block a user