Skip to content

Commit

Permalink
numberFormat
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamyplayer committed Feb 9, 2022
1 parent cbf8ea8 commit 799723a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ class Proxy {
};

this.used(1);
this.debug(chalk.yellow(`Checking ${code}...`));
this.debug(chalk.yellow(`Checking ${code}`));

try {
const body = await (
Expand Down Expand Up @@ -251,7 +251,7 @@ async function main() {
const e = () =>
proxy ? ((max - c) / (5 * proxies.filter(e => e.working).length)) * 6e4 : ((max - c).length / 5) * 6e4;
console.info(
`${chalk.bgGreen('[Launching]')} ${chalk.yellow(max)} ${chalk.green('checks')}, ${chalk.red(
`${chalk.bgGreen('[Launching]')} ${chalk.yellow(numberFormat(max))} ${chalk.green('checks')}, ${chalk.red(
'estimated time:',
)} ${chalk.blue(duration(e(), !0, !0))} | ${chalk.blue(datetocompact(e() + Date.now()))}`,
);
Expand Down

0 comments on commit 799723a

Please sign in to comment.