Skip to content
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

Bug: getcontexthelpers-argument fixer adds extra comma #54

Open
helixbass opened this issue Sep 28, 2020 · 0 comments
Open

Bug: getcontexthelpers-argument fixer adds extra comma #54

helixbass opened this issue Sep 28, 2020 · 0 comments

Comments

@helixbass
Copy link
Owner

Looks like when running getcontexthelpers-argument in fix mode, it isn't smart enough to recognize that the existing last array item (of the argument to toObjectKeys()) already has a trailing comma (eg if it's broken across multiple lines) so is then doing an invalid fix by adding an extra comma before the new last item

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant