Open sophiebits opened 9 years ago
All the printing is done by recast. You should file an issue there.
Though for jscodeshift specifically, you can simply return nothing from the transformer. That tells the runner/worker that the file is not supposed to change (and of course it won't be overridden since there was no return value).
Okay, thanks: https://github.com/benjamn/recast/issues/215.
Parsing and reprinting
outputs
which is inconvenient for codemods. Live test: http://felix-kling.de/esprima_ast_explorer/#/NvtYJQH95L.