fix(ui): resolve lint issues in file browser
This commit is contained in:
@@ -63,7 +63,7 @@ func MatchesExtension(name string, exts []string) bool {
|
||||
}
|
||||
ext := strings.ToLower(filepath.Ext(name))
|
||||
for _, e := range exts {
|
||||
if strings.ToLower(e) == ext {
|
||||
if strings.EqualFold(e, ext) {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user