-
Notifications
You must be signed in to change notification settings - Fork 481
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Respect process.stdout.write's return value
Docs: https://nodejs.org/api/stream.html#stream_writable_write_chunk_encoding_callback If we continue to write to stdout (or stderr for that matter), without respecting the return value of the `write` method, output might get interleaved incorrectly, which breaks tools that do something with jscodeshift's output.
- Loading branch information
Showing
1 changed file
with
25 additions
and
4 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