■ ■ ■ ■ ■ ■
pkg/souffle/query/query.go
| skipped 3 lines |
4 | 4 | | "fmt" |
5 | 5 | | "reflect" |
6 | 6 | | |
7 | | - | "github.com/rs/zerolog/log" |
8 | 7 | | sitter "github.com/smacker/go-tree-sitter" |
9 | 8 | | |
10 | 9 | | "github.com/bearer/bearer/new/language/implementation" |
| skipped 83 lines |
94 | 93 | | // FIXME: Define dynamic names in a common place |
95 | 94 | | relation, err := context.souffle.Relation(fmt.Sprintf("Rule_Match_%s", patternId)) |
96 | 95 | | if err != nil { |
97 | | - | // FIXME: need to filter rules by ones we actually compiled |
98 | | - | log.Error().Msgf("pattern relation error: %w", err) |
| 96 | + | // FIXME: need to support all rules |
| 97 | + | // log.Error().Msgf("pattern relation error: %w", err) |
99 | 98 | | continue |
100 | 99 | | // return err |
101 | 100 | | } |
| skipped 55 lines |