jscodeshift icon indicating copy to clipboard operation
jscodeshift copied to clipboard

removing node after InterpreterDirective results in incorrect output

Open stainless-em opened this issue 9 months ago • 0 comments

It loses the newline at the end of the #! line and ends up commenting out the subsequent line. Here's a repro in AST Explorer: (linked) Image

stainless-em avatar Mar 10 '25 21:03 stainless-em