diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-02-07 07:03:44 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-02-07 09:34:45 +0800 |
commit | 0bad911a16dd2924e5be693710a422383aba4871 (patch) | |
tree | 7061d10b3958647e51644593cd7e0be890048576 /packages/abi-gen/src | |
parent | 6e87c9e7133d9250a861151545deb50122b16f30 (diff) | |
download | dexon-0x-contracts-0bad911a16dd2924e5be693710a422383aba4871.tar.gz dexon-0x-contracts-0bad911a16dd2924e5be693710a422383aba4871.tar.zst dexon-0x-contracts-0bad911a16dd2924e5be693710a422383aba4871.zip |
Fix ABI error message
Diffstat (limited to 'packages/abi-gen/src')
-rw-r--r-- | packages/abi-gen/src/index.ts | 4 |
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); } |