From 4c0bc02c486e45a37d774516c645086626271cb5 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Tue, 5 Dec 2017 17:05:48 +0300 Subject: Fix an error message --- packages/typed-contracts/src/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packages') 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`); -- cgit v1.2.3