Skip to content

Commit 1e0e09e

Browse files
committed
equalfold file extension and ignore extension in ingore check
1 parent ccf4939 commit 1e0e09e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

check/checkrr.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ func (c *Checkrr) Run() {
9797

9898
ext := filepath.Ext(path)
9999
for _, v := range c.ignoreExts {
100-
if v == ext {
100+
if strings.EqualFold(v, ext) {
101101
ignore = true
102102
}
103103
}

0 commit comments

Comments
 (0)