gritql icon indicating copy to clipboard operation
gritql copied to clipboard

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

Open scr2em opened this issue 1 year ago • 2 comments

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

scr2em avatar Apr 11 '24 05:04 scr2em

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 avatar Apr 11 '24 13:04 ilevyor

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

scr2em avatar Apr 11 '24 15:04 scr2em