Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No more unnecessary empty "stderr:" lines in log #349

Merged
merged 1 commit into from
Sep 23, 2024

Conversation

rmunn
Copy link
Contributor

@rmunn rmunn commented Aug 14, 2024

Many times stderr's contents are just a single newline; there's no need to write that to the progress log. We also don't need to write double newlines to the log, so trim the final trailing newline before writing.

Fixes #348.


This change is Reviewable

@rmunn rmunn self-assigned this Aug 14, 2024
@rmunn
Copy link
Contributor Author

rmunn commented Aug 14, 2024

PR created on top of #347 to avoid merge conflicts once #347 is merged to master.

@rmunn rmunn linked an issue Aug 14, 2024 that may be closed by this pull request
@rmunn rmunn requested a review from hahn-kev August 14, 2024 10:25
@rmunn rmunn force-pushed the feature/no-duplicate-output branch from 522bf9f to 7a649c6 Compare August 30, 2024 06:51
@rmunn rmunn force-pushed the feature/less-log-spam branch from 4a5a201 to 62147f9 Compare August 30, 2024 06:52
Base automatically changed from feature/no-duplicate-output to master September 7, 2024 06:49
Many times stderr's contents are just a single newline; there's no need
to write that to the progress log. We also don't need to write double
newlines to the log, so trim the final trailing newline before writing.
@rmunn rmunn force-pushed the feature/less-log-spam branch from 62147f9 to 33c812a Compare September 7, 2024 06:50
Copy link

github-actions bot commented Sep 7, 2024

Test Results

       4 files  ±0     412 suites  ±0   2h 46m 44s ⏱️ +57s
   883 tests ±0     860 ✔️ ±0    23 💤 ±0  0 ±0 
4 040 runs  ±0  3 906 ✔️ ±0  134 💤 ±0  0 ±0 

Results for commit 33c812a. ± Comparison against base commit 4535fc4.

@hahn-kev hahn-kev merged commit 5263587 into master Sep 23, 2024
5 checks passed
@hahn-kev hahn-kev deleted the feature/less-log-spam branch September 23, 2024 08:33
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.

Don't write empty "standerr:" lines to verbose progress output
2 participants