Fix ABI error message
This commit is contained in:
		
				
					committed by
					
						
						Amir Bandeali
					
				
			
			
				
	
			
			
			
						parent
						
							6e87c9e713
						
					
				
				
					commit
					0bad911a16
				
			@@ -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,
 | 
			
		||||
 
 | 
			
		||||
@@ -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);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user