Skip to content

Commit

Permalink
fix regexp to skip actually myself from traces
Browse files Browse the repository at this point in the history
  • Loading branch information
bayashi committed Jun 2, 2024
1 parent e8915ea commit cd064b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actually_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func (a *testingA) failf(w *w.Witness, reasonFormat string, args ...any) *testin
return a
}

var regexpMine = regexp.MustCompile(`/actually@v[0-9][0-9\.]+[0-9]/`)
var regexpMine = regexp.MustCompile(`github\.com/bayashi/actually(@v[0-9][0-9\.]+[0-9])?/`)

var skipMine = func(filepath string) bool {
return regexpMine.FindStringSubmatch(filepath) != nil
Expand Down

0 comments on commit cd064b2

Please sign in to comment.