aboutsummaryrefslogtreecommitdiffstats
path: root/packages/abi-gen/src
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-02-07 07:03:44 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-02-07 09:34:45 +0800
commit0bad911a16dd2924e5be693710a422383aba4871 (patch)
tree7061d10b3958647e51644593cd7e0be890048576 /packages/abi-gen/src
parent6e87c9e7133d9250a861151545deb50122b16f30 (diff)
downloaddexon-sol-tools-0bad911a16dd2924e5be693710a422383aba4871.tar
dexon-sol-tools-0bad911a16dd2924e5be693710a422383aba4871.tar.gz
dexon-sol-tools-0bad911a16dd2924e5be693710a422383aba4871.tar.bz2
dexon-sol-tools-0bad911a16dd2924e5be693710a422383aba4871.tar.lz
dexon-sol-tools-0bad911a16dd2924e5be693710a422383aba4871.tar.xz
dexon-sol-tools-0bad911a16dd2924e5be693710a422383aba4871.tar.zst
dexon-sol-tools-0bad911a16dd2924e5be693710a422383aba4871.zip
Fix ABI error message
Diffstat (limited to 'packages/abi-gen/src')
-rw-r--r--packages/abi-gen/src/index.ts4
1 files changed, 3 insertions, 1 deletions
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);
}