From 0bad911a16dd2924e5be693710a422383aba4871 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Wed, 7 Feb 2018 00:03:44 +0100 Subject: Fix ABI error message --- packages/abi-gen/src/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'packages/abi-gen') diff --git a/packages/abi-gen/src/index.ts b/packages/abi-gen/src/index.ts index 68beb2352..bc5a974a9 100644 --- a/packages/abi-gen/src/index.ts +++ b/packages/abi-gen/src/index.ts @@ -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); } -- cgit v1.2.3