Skip to content

Commit 8a8112f

Browse files
authored
Merge pull request #331 from wakatime/feature/go-exclude-regex
Remove ignore case directive from go deps exclude regex
2 parents 11df311 + 3e4c702 commit 8a8112f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/deps/golang.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"github.com/alecthomas/chroma/lexers/g"
1212
)
1313

14-
var goExcludeRegex = regexp.MustCompile(`(?i)^"fmt"$`)
14+
var goExcludeRegex = regexp.MustCompile(`^"fmt"$`)
1515

1616
// StateGo is a token parsing state.
1717
type StateGo int

0 commit comments

Comments
 (0)