add missing variable

This commit is contained in:
Iuri Matias 2018-06-06 15:45:16 -04:00
parent 60e4f9f07d
commit c4880535a4
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ class Test {
}); });
// If still nothing, assign bogus one, we will redefine it anyway on deploy // If still nothing, assign bogus one, we will redefine it anyway on deploy
if (!contract) { 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(__('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')); 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]]; contract = this.engine.contractsManager.contracts[contractNames[0]];