-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding right parenthesis when not needed #701
Comments
Hi @judblackburn, would you mind providing a project and/or instructions to reproduce? I haven't encountered any issues with |
@sofisl Thanks for the quick review. A colleague set up this example repo. Steps to reproduce:
The output from the |
Thanks for adding @judblackburn. I can reproduce the issue, will dig into it. |
@sofisl Thanks again. I appreciate it and look forward to hearing from you. |
So I'm not sure if this is related but in my case it removes an extra right parenthesis, which then leads to a parsing error. Here is the specific commit where the issue arose; I had to manually add back in the parenthesis on line 391. Other areas in my code also arose as a result of this, which I am still trying to figure out. |
Also if I run |
Reproduce by cloning this PR googleapis/google-cloudevents-nodejs#134 and checking out HEAD~1 then manually running |
Ah the actual problem created in this one is because we are using |
Summary
When running
gts fix
on this code, it adds extra)
and breaks the code.Before
gts fix
After
gts fix
output
package.json
The text was updated successfully, but these errors were encountered: