getgrit / gritql

GritQL is a query language for searching, linting, and modifying code.

Home Page:https://docs.grit.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`--stdin` should imply `--dry-run`

morgante opened this issue · comments

Otherwise we attempt to rewrite files that don't even exist, like:

.: ERROR (code: 280) - Failed to apply rewrite: Is a directory (os error 21)