Skip to content

Commit

Permalink
ignore github.com/op/go-logging
Browse files Browse the repository at this point in the history
  • Loading branch information
thnk2wn committed Apr 26, 2022
1 parent 30b3447 commit 3c5cf05
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ outer:
break
}

if strings.Contains(file, "github.com/op/go-logging") {
callDepth++
continue outer
}

for _, s := range suffixesToIgnore {
if strings.HasSuffix(file, s) {
callDepth++
Expand Down

0 comments on commit 3c5cf05

Please sign in to comment.