Skip to content

Commit

Permalink
Fixed logging on building of one contract, made statement a bit more …
Browse files Browse the repository at this point in the history
…concise.
  • Loading branch information
thekevinbrown committed May 14, 2019
1 parent 2eb31a7 commit 0725b71
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/cli/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 0725b71

Please sign in to comment.