From 0725b7140d2c2e9449baa90416a786f8af953327 Mon Sep 17 00:00:00 2001 From: Kevin Brown Date: Tue, 14 May 2019 12:11:37 +1000 Subject: [PATCH] Fixed logging on building of one contract, made statement a bit more concise. --- src/cli/utils.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/cli/utils.ts b/src/cli/utils.ts index dcc6814..f71065c 100644 --- a/src/cli/utils.ts +++ b/src/cli/utils.ts @@ -297,10 +297,8 @@ export const buildAll = async (match?: string[]) => { } // Log the batch building process - console.log( - `BUILDING ${contracts.length} SMART CONTRACT${contracts.length > 0 ? 's' : ''}`, - '\n' - ); + console.log(`BUILDING ${contracts.length} SMART CONTRACT${contracts.length > 1 ? 'S' : ''}\n`); + // Build each contract and handle errors for (const contract of contracts) { try {