Fix ABI error message

This commit is contained in:
Leonid Logvinov
2018-02-07 00:03:44 +01:00
committed by Amir Bandeali
parent 6e87c9e713
commit 0bad911a16
2 changed files with 3 additions and 2 deletions

View File

@@ -25,7 +25,6 @@ import { TokenWrapper } from '../contract_wrappers/token_wrapper';
import { BalanceAndProxyAllowanceLazyStore } from '../stores/balance_proxy_allowance_lazy_store';
import { OrderFilledCancelledLazyStore } from '../stores/order_filled_cancelled_lazy_store';
import {
BlockParamLiteral,
ContractEventArgs,
ExchangeContractErrs,
LogEvent,

View File

@@ -106,7 +106,9 @@ for (const abiFileName of abiFileNames) {
}
if (_.isUndefined(ABI)) {
utils.log(`${chalk.red(`ABI not found in ${abiFileName}.`)}`);
utils.log(`Please make sure your ABI file is either an array with ABI entries or an object with the abi key`);
utils.log(
`Please make sure your ABI file is either an array with ABI entries or a truffle artifact or 0x deployer artifact`,
);
process.exit(1);
}