Fix #55.
This commit is contained in:
parent
e5531d1bc8
commit
a175ffa19d
1 changed files with 5 additions and 3 deletions
|
@ -43,11 +43,13 @@ func initFilters(filters FileFilters) []string {
|
||||||
buf.WriteString("--file-filter=")
|
buf.WriteString("--file-filter=")
|
||||||
if f.Name != "" {
|
if f.Name != "" {
|
||||||
buf.WriteString(f.Name)
|
buf.WriteString(f.Name)
|
||||||
buf.WriteRune('|')
|
buf.WriteByte('|')
|
||||||
}
|
}
|
||||||
for _, p := range f.Patterns {
|
for i, p := range f.Patterns {
|
||||||
|
if i != 0 {
|
||||||
|
buf.WriteByte(' ')
|
||||||
|
}
|
||||||
buf.WriteString(p)
|
buf.WriteString(p)
|
||||||
buf.WriteRune(' ')
|
|
||||||
}
|
}
|
||||||
res = append(res, buf.String())
|
res = append(res, buf.String())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue