Skip to content

Commit

Permalink
chore(build): fix progress of log
Browse files Browse the repository at this point in the history
  • Loading branch information
EdamAme-x authored Nov 13, 2024
1 parent d405215 commit 0183866
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`)
Expand Down

0 comments on commit 0183866

Please sign in to comment.