Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Oct 16, 2024
1 parent f134c18 commit d7d4946
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,8 @@ func (cfg *Config) init() error {
return errors.New("cannot compile 'ignore' flag pattern " + err.Error())
}
fn := func(s string) bool {
fmt.Println("\nsub", s, "=>", pattern)

return re.MatchString(s)
}
cfg.ignore = cfg.ignore.Or(fn)
Expand Down

0 comments on commit d7d4946

Please sign in to comment.