Skip to content

Commit

Permalink
equalfold file extension and ignore extension in ingore check
Browse files Browse the repository at this point in the history
  • Loading branch information
aetaric committed May 28, 2023
1 parent ccf4939 commit 1e0e09e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check/checkrr.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func (c *Checkrr) Run() {

ext := filepath.Ext(path)
for _, v := range c.ignoreExts {
if v == ext {
if strings.EqualFold(v, ext) {
ignore = true
}
}
Expand Down

0 comments on commit 1e0e09e

Please sign in to comment.