0
0
mirror of https://github.com/honojs/hono.git synced 2024-11-21 10:08:58 +01:00

chore(build): fix progress of log (#3665)

* chore(build): fix progress of log

* change implement

* revert
This commit is contained in:
EdamAmex 2024-11-14 15:15:59 +09:00 committed by GitHub
parent 8eff3f2ea7
commit 082862bb7d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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}`)