fix: lint-backend (exceeds the maximum of 140 characters)

pull/4716/head
manx98 2025-05-26 23:06:35 +08:00
parent b251c541f5
commit 321368f78e
1 changed files with 2 additions and 1 deletions

View File

@ -19,7 +19,8 @@ type searchOptions struct {
}
// 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)
scope = filepath.ToSlash(filepath.Clean(scope))