mirror of
https://github.com/Instagram/LibCST.git
synced 2025-12-23 10:35:53 +00:00
fix codemodding on windows (#495)
* pass empty environment fixes: https://github.com/Instagram/LibCST/issues/494 * remove empty env to support windows.
This commit is contained in:
parent
e0dd6016a5
commit
8c19f1ca83
1 changed files with 0 additions and 1 deletions
|
|
@ -55,7 +55,6 @@ def invoke_formatter(formatter_args: Sequence[str], code: AnyStr) -> AnyStr:
|
|||
AnyStr,
|
||||
subprocess.check_output(
|
||||
formatter_args,
|
||||
env={},
|
||||
input=code,
|
||||
universal_newlines=not work_with_bytes,
|
||||
encoding=None if work_with_bytes else "utf-8",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue