aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-12-05 22:05:48 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-12-05 22:05:48 +0800
commit4c0bc02c486e45a37d774516c645086626271cb5 (patch)
treeebb71f3756d05e50652b63561766da7f3115b89a
parent16b27c4ae84776b0347b0582d5bebb3454de2bbd (diff)
downloaddexon-sol-tools-4c0bc02c486e45a37d774516c645086626271cb5.tar
dexon-sol-tools-4c0bc02c486e45a37d774516c645086626271cb5.tar.gz
dexon-sol-tools-4c0bc02c486e45a37d774516c645086626271cb5.tar.bz2
dexon-sol-tools-4c0bc02c486e45a37d774516c645086626271cb5.tar.lz
dexon-sol-tools-4c0bc02c486e45a37d774516c645086626271cb5.tar.xz
dexon-sol-tools-4c0bc02c486e45a37d774516c645086626271cb5.tar.zst
dexon-sol-tools-4c0bc02c486e45a37d774516c645086626271cb5.zip
Fix an error message
-rw-r--r--packages/typed-contracts/src/index.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/typed-contracts/src/index.ts b/packages/typed-contracts/src/index.ts
index 1ded558c3..35f2ba2d1 100644
--- a/packages/typed-contracts/src/index.ts
+++ b/packages/typed-contracts/src/index.ts
@@ -52,7 +52,8 @@ const template = Handlebars.compile(mainTemplate.content);
const abiFileNames = globSync(args.abiGlob);
if (_.isEmpty(abiFileNames)) {
utils.log(`${chalk.red(`No ABI files found.`)}`);
- utils.log(`Please make sure you've passed a correct folder and they have ${chalk.bold('*.json')} extensions`);
+ utils.log(`Please make sure you've passed the correct folder name and that the files have
+ ${chalk.bold('*.json')} extensions`);
process.exit(1);
} else {
utils.log(`Found ${chalk.green(`${abiFileNames.length}`)} ${chalk.bold('ABI')} files`);