Skip to content

Conversation

@priyanshurav
Copy link

Problem

If the script output did not end with a newline, then the last line that was printed to the console would get deleted,
This was due to the #clearSpinner method in Progress class deleting an entire line, just to erase the spinner.

Solution

Used control characters to only erase the single spinner character and not the entire line.

References

Fixes #8583

@priyanshurav priyanshurav requested a review from a team as a code owner October 23, 2025 18:23
@wraithgar
Copy link
Member

The efforts for this are ongoing in #8322 and waiting on some cleanup in proc-log first.

@wraithgar wraithgar closed this Oct 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] npm run erases script output after the final newline

2 participants