Skip to content

Commit

Permalink
appease linter
Browse files Browse the repository at this point in the history
  • Loading branch information
pLabarta authored and AdaJane committed Jun 22, 2023
1 parent c5a4c84 commit e90853a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/cc-cli/src/commands/send.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ async function checkEnoughFundsToSend(
) {
const balance = await getBalance(address, api);
if (balance.free.sub(balance.miscFrozen).lt(amount)) {
console.log(`Caller ${address} has insufficient funds to send ${amount}`);
console.log(
`Caller ${address} has insufficient funds to send ${amount.toString()}`
);
process.exit(1);
}
}

0 comments on commit e90853a

Please sign in to comment.