chore(accountParser): put the accounts doc instead of printing opts

This commit is contained in:
Jonathan Rainville 2018-12-03 11:29:46 -05:00
parent f68f1fc9b6
commit 647f0ea478

View File

@ -107,9 +107,8 @@ class AccountParser {
}
return accounts;
}
logger.warn('Unsupported account configuration: ' + JSON.stringify(accountConfig));
logger.warn('Try using one of those: ' +
'{ "privateKey": "your-private-key", "privateKeyFile": "path/to/file/containing/key", "mnemonic": "12 word mnemonic" }');
logger.warn(__('Unsupported account configuration: %s' ,JSON.stringify(accountConfig)));
logger.warn(__('Check the docs at %s', 'https://embark.status.im/docs/contracts_deployment.html#Using-accounts-in-a-wallet'.underline));
return null;
}
}