From 082862bb7d8ee95847fbeeb736eb4e20d4646ee7 Mon Sep 17 00:00:00 2001 From: EdamAmex <121654029+EdamAme-x@users.noreply.github.com> Date: Thu, 14 Nov 2024 15:15:59 +0900 Subject: [PATCH] chore(build): fix progress of log (#3665) * chore(build): fix progress of log * change implement * revert --- build/build.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/build.ts b/build/build.ts index 34285bb7..b2a439c6 100644 --- a/build/build.ts +++ b/build/build.ts @@ -105,7 +105,7 @@ let lastOutputLength = 0 for (let i = 0; i < dtsEntries.length; i++) { const entry = dtsEntries[i] - const message = `Removing private fields(${i}/${dtsEntries.length}): ${entry}` + const message = `Removing private fields(${i + 1}/${dtsEntries.length}): ${entry}` writer.write(`\r${' '.repeat(lastOutputLength)}`) lastOutputLength = message.length writer.write(`\r${message}`)