Skip to content

Commit

Permalink
Fix stdout being plugged into codemod-ed file (Instagram#309)
Browse files Browse the repository at this point in the history
  • Loading branch information
josieesh authored Jun 10, 2020
1 parent dcdb046 commit 228589f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion libcst/codemod/_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ def invoke_formatter(formatter_args: Sequence[str], code: AnyStr) -> AnyStr:
formatter_args,
env={},
input=code,
stderr=subprocess.STDOUT,
universal_newlines=not work_with_bytes,
encoding=None if work_with_bytes else "utf-8",
),
Expand Down

0 comments on commit 228589f

Please sign in to comment.