Case-fold patterns.
This commit is contained in:
parent
96942f9acc
commit
98d9f88c95
1 changed files with 2 additions and 1 deletions
|
@ -35,8 +35,9 @@ func selectFileSave(opts options) (string, error) {
|
||||||
return strResult(opts, out, err)
|
return strResult(opts, out, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
func initFilters(filters []FileFilter) []string {
|
func initFilters(filters FileFilters) []string {
|
||||||
var res []string
|
var res []string
|
||||||
|
filters.casefold()
|
||||||
for _, f := range filters {
|
for _, f := range filters {
|
||||||
var buf strings.Builder
|
var buf strings.Builder
|
||||||
buf.WriteString("--file-filter=")
|
buf.WriteString("--file-filter=")
|
||||||
|
|
Loading…
Reference in a new issue