Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ require (
github.com/d5/tengo/v2 v2.17.0
github.com/errata-ai/ini v1.63.0
github.com/expr-lang/expr v1.17.7
github.com/gobwas/glob v0.2.3
github.com/gobwas/glob v1.1.0
github.com/jdkato/go-tree-sitter-julia v0.1.0
github.com/jdkato/prose/v3 v3.3.1
github.com/jdkato/regexp2/v2 v2.5.6
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ github.com/fatih/color v1.18.0 h1:S8gINlzdQ840/4pfAwic/ZE0djQEH3wM94VfqLTZcOM=
github.com/fatih/color v1.18.0/go.mod h1:4FelSpRwEGDpQ12mAdzqdOukCy4u8WUtOY6lkT/6HfU=
github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHkI4W8=
github.com/frankban/quicktest v1.14.6/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0=
github.com/gobwas/glob v0.2.3 h1:A4xDbljILXROh+kObIiy5kIaPYD8e96x1tgBhUI5J+Y=
github.com/gobwas/glob v0.2.3/go.mod h1:d3Ez4x06l9bZtSvzIay5+Yzi0fmZzPgnTbPcKjJAkT8=
github.com/gobwas/glob v1.1.0 h1:CS8tIr7+5fu50N+tKsQy3osOU5jmhjHv0/ildcKAn2Q=
github.com/gobwas/glob v1.1.0/go.mod h1:5OYLTTNYHcww+D/XwWAjGpmIE8sD41kWneKyzWkK7/k=
github.com/goccy/go-json v0.10.6 h1:p8HrPJzOakx/mn/bQtjgNjdTcN+/S6FcG2CTtQOrHVU=
github.com/goccy/go-json v0.10.6/go.mod h1:oq7eo15ShAhp70Anwd5lgX2pLfOS3QCiwU/PULtXL6M=
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
Expand Down
2 changes: 1 addition & 1 deletion internal/glob/glob.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type Glob struct {

// compiled is the `gobwas/glob` form of Pattern, built once by NewGlob.
// It's nil for a `**` pattern, which doublestar matches instead.
compiled glob.Glob
compiled *glob.Pattern
}

// Match returns whether or not the Glob g matches the string query.
Expand Down
2 changes: 1 addition & 1 deletion testdata/e2e/config-flags.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ cases:
args: "--glob=[a-]* ."
exit: 2
want: |
[--glob]:E100:expected close range character
[--glob]:E100:glob: syntax error at 5: expected close range character

- name: no-config-found
dir: ../../../..
Expand Down
Loading