mirror of https://github.com/embarklabs/embark.git
Merge pull request #494 from embark-framework/missing_contract_name
add missing variable
This commit is contained in:
commit
b5ac5626cb
|
@ -183,7 +183,7 @@ class Test {
|
|||
});
|
||||
// If still nothing, assign bogus one, we will redefine it anyway on deploy
|
||||
if (!contract) {
|
||||
console.warn(__('Could not recognize the contract name "%s"'));
|
||||
console.warn(__('Could not recognize the contract name "%s"', contractName));
|
||||
console.warn(__('If it is an instance of another contract, it will be reassigned on deploy'));
|
||||
console.warn(__('Otherwise, you can rename the contract to contain the parent contract in the name eg: Token2 for Token'));
|
||||
contract = this.engine.contractsManager.contracts[contractNames[0]];
|
||||
|
|
Loading…
Reference in New Issue