chore: remove redundant word in comment (#4490)
Some checks failed
CodeQL / Analyze (go) (push) Has been cancelled
build / build (push) Has been cancelled
Test fzf on macOS / build (push) Has been cancelled

Signed-off-by: longhutianjie <keplrnewton@icloud.com>
This commit is contained in:
longhutianjie
2025-08-14 12:26:29 +08:00
committed by GitHub
parent 1afd143810
commit 978b6254c7

View File

@@ -285,7 +285,7 @@ func (r *Reader) readFiles(roots []string, opts walkerOpts, ignores []string) bo
if strings.HasPrefix(ignore, sep) {
ignoresSuffix = append(ignoresSuffix, ignore)
} else {
// 'foo/bar' should match match
// 'foo/bar' should match
// * 'foo/bar'
// * 'baz/foo/bar'
// * but NOT 'bazfoo/bar'