Skip to content

Commit e367b54

Browse files
committed
fix(rich-progress): inline socket-hook marker so logger-guard sees it on the right line
1 parent 4a8db92 commit e367b54

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

packages/cli/src/util/terminal/rich-progress.mts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,8 +321,7 @@ export class FileProgress {
321321

322322
// Uses raw stderr.write for \r-based progress redraw — logger
323323
// appends newlines and can't replace the current line.
324-
process.stderr.write(
325-
// socket-hook: allow console
324+
process.stderr.write( // socket-hook: allow console
326325
`\r${this.operation}: [${this.processed}/${this.total}] ${percentage}% ${colors.gray(`(${elapsed}s)`)} ${colors.cyan(file)}`,
327326
)
328327

0 commit comments

Comments
 (0)