From b4c683282857365ee341783a14df5bd3b5fbe6d0 Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Mon, 20 Nov 2023 14:44:39 +0100 Subject: [PATCH] Add additional debug Signed-off-by: Evan Lezar --- internal/lookup/file.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/lookup/file.go b/internal/lookup/file.go index b5d2fa76..20a1f164 100644 --- a/internal/lookup/file.go +++ b/internal/lookup/file.go @@ -148,6 +148,7 @@ var _ Locator = (*file)(nil) func (p file) Locate(pattern string) ([]string, error) { var filenames []string + p.logger.Debugf("Locating %q in %v", pattern, p.prefixes) visit: for _, prefix := range p.prefixes { pathPattern := filepath.Join(prefix, pattern)