cleanup
This commit is contained in:
parent
458bc71688
commit
bc99bf1919
3
nav.go
3
nav.go
@ -377,9 +377,8 @@ func match(pattern, name string) (matched bool, err error) {
|
|||||||
}
|
}
|
||||||
if gOpts.globsearch {
|
if gOpts.globsearch {
|
||||||
return filepath.Match(pattern, name)
|
return filepath.Match(pattern, name)
|
||||||
} else {
|
|
||||||
return strings.Contains(name, pattern), nil
|
|
||||||
}
|
}
|
||||||
|
return strings.Contains(name, pattern), nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (nav *nav) searchNext() error {
|
func (nav *nav) searchNext() error {
|
||||||
|
Loading…
Reference in New Issue
Block a user