Skip to content

Commit fb42b53

Browse files
authored
containsWildcards always returns false (#127)
1 parent f02f9c2 commit fb42b53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tailer/glob/glob.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func containsWildcards(pattern string) bool {
6060
continue
6161
}
6262
if !escaped && (p[i] == '[' || p[i] == '*' || p[i] == '?') {
63-
return false
63+
return true
6464
}
6565
escaped = false
6666
}

0 commit comments

Comments
 (0)