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

grit apply 'constructor(){} => .' still matches empty constructors with parameters #200

Open
scr2em opened this issue Apr 11, 2024 · 2 comments

Comments

@scr2em
Copy link

scr2em commented Apr 11, 2024

that pattern works correctly in the playground, but when I ran it in the CLI, it matched all constructors even with the ones with parameters

grit apply '`constructor(){}` => .' ./src  

gritql version 0.1.1

@ilevyor
Copy link
Contributor

ilevyor commented Apr 11, 2024

Sounds like the cli version is out of date this was fixed recently, and I guess we updated the playground, but not the cli

@scr2em
Copy link
Author

scr2em commented Apr 11, 2024

Sounds like the cli version is out of date this was fixed recently, and I guess we updated the playground, but not the cli

@ilevyor 0.1.1 is the latest version, correct ? I think it would be very nice to have something like https://github.com/angular/angular-cli/releases

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

2 participants