Skip to content

clg semicolon #218

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

Closed
mecirmartin opened this issue Jan 22, 2022 · 2 comments
Closed

clg semicolon #218

mecirmartin opened this issue Jan 22, 2022 · 2 comments
Labels

Comments

@mecirmartin
Copy link

mecirmartin commented Jan 22, 2022

Hey, your extension is great, but i have trouble with clg each and every day
When using arrow function and clg snippet, the semicolon at the end introduces syntax error

For example:
i am writing code like this:

fetch('x').then(res => clg)

this creates

fetch('x').then(res => console.log();)

which is obviously syntax error and i have to remove the semicolon
is there any chance the semicolon could be removed from the snippet? Thanks for the answer

Would love to create PR for this issue

@mecirmartin mecirmartin changed the title console.log semicolon clg semicolon Jan 22, 2022
@mecirmartin
Copy link
Author

@dsznajder
Created PR for this issue #219

@ice-chillios
Copy link

@mecirmartin Fixed in v4.3.1

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

Successfully merging a pull request may close this issue.

2 participants