Skip to content

Commit

Permalink
logs
Browse files Browse the repository at this point in the history
  • Loading branch information
jazanne committed Feb 5, 2024
1 parent 1ac4935 commit 19b3b42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions internal/extinctions/extinctions.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ func CheckExtinctions(opts options.Options, builder *refs.ReferenceSummaryBuilde
if err != nil {
return err
}
//TODO
gha.Log("Matcher: %v", matcher)

gha.Debug("Searching for any remaining references to %d removed flags...", len(flagKeys))
gha.Debug("Searching dir %s", opts.Dir)
Expand Down
3 changes: 2 additions & 1 deletion search/search.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,15 @@ func GetMatcher(opts options.Options, flagKeys []string, diffContents laliases.F
for key, alias := range aliasesByFlagKey {
gha.Debug("Generated aliases for '%s': %v", key, alias)
}
gha.Log("MAP %+v", aliasesByFlagKey)

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

return matcher, nil
}

0 comments on commit 19b3b42

Please sign in to comment.