Skip to content

Commit

Permalink
Fix on filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateusz 'Serafin' Gajewski committed Aug 26, 2017
1 parent 5254889 commit f4c6848
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ func accept(values ...string) bool {
}
}

if len(filterInclude.values) == 0 {
return true
}

for _, include := range filterInclude.values {
if strings.Contains(value, include) {
return true
Expand Down

0 comments on commit f4c6848

Please sign in to comment.