fix: lint-backend (exceeds the maximum of 140 characters)
parent
b251c541f5
commit
321368f78e
|
@ -19,7 +19,8 @@ type searchOptions struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Search searches for a query in a fs.
|
// Search searches for a query in a fs.
|
||||||
func Search(ctx context.Context, fs afero.Fs, scope, query string, checker rules.Checker, found func(path string, f os.FileInfo) error) error {
|
func Search(ctx context.Context,
|
||||||
|
fs afero.Fs, scope, query string, checker rules.Checker, found func(path string, f os.FileInfo) error) error {
|
||||||
search := parseSearch(query)
|
search := parseSearch(query)
|
||||||
|
|
||||||
scope = filepath.ToSlash(filepath.Clean(scope))
|
scope = filepath.ToSlash(filepath.Clean(scope))
|
||||||
|
|
Loading…
Reference in New Issue