-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(core): drain stdout before exit in print-affected (#12559)
Piping a large print-affected output to another command, such as cat or jq, resulted in broken json output as the node process can exit before the output is fully written. The process.stdout stream needs to wait to drain before process.exit. (cherry picked from commit 0ff93dd)
- Loading branch information
1 parent
64103af
commit 731f839
Showing
2 changed files
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters