Skip to content

Commit

Permalink
fix element matcher
Browse files Browse the repository at this point in the history
  • Loading branch information
jazanne committed Feb 5, 2024
1 parent de5720a commit 5619ce0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion search/search.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func GetMatcher(opts options.Options, flagKeys []string, diffContents laliases.F

delimiters := strings.Join(lsearch.GetDelimiters(opts), "")
elements := make([]lsearch.ElementMatcher, 0, 1)
elements = append(elements, lsearch.NewElementMatcher(opts.ProjKey, opts.Dir, delimiters, flagKeys, aliasesByFlagKey))
elements = append(elements, lsearch.NewElementMatcher(opts.ProjKey, "", delimiters, flagKeys, aliasesByFlagKey))
matcher := lsearch.Matcher{
Elements: elements,
}
Expand Down

0 comments on commit 5619ce0

Please sign in to comment.