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

`or file()` pattern doesn't work properly

morgante opened this issue · comments

This should work:

or {
    bubble file($body) where {
        $body <: contains `i` => .
    },
    bubble file($body) where {
        $body <: contains `1` => .
    }
}

It's like a bug in autowrap.