From 3ee213081ec6bf42f6947d03e256319c29a8ce0e Mon Sep 17 00:00:00 2001 From: Adictya Date: Thu, 15 May 2025 08:46:40 +0530 Subject: fix(complete-module): logging --- internal/llm/tools/glob.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'internal/llm/tools') diff --git a/internal/llm/tools/glob.go b/internal/llm/tools/glob.go index 6b6cab191..43b7bf0ba 100644 --- a/internal/llm/tools/glob.go +++ b/internal/llm/tools/glob.go @@ -12,6 +12,7 @@ import ( "github.com/sst/opencode/internal/config" "github.com/sst/opencode/internal/fileutil" + "github.com/sst/opencode/internal/status" ) const ( @@ -133,7 +134,7 @@ func globFiles(pattern, searchPath string, limit int) ([]string, bool, error) { if err == nil { return matches, len(matches) >= limit && limit > 0, nil } - // logging.Warn(fmt.Sprintf("Ripgrep execution failed: %v. Falling back to doublestar.", err)) + status.Warn(fmt.Sprintf("Ripgrep execution failed: %v. Falling back to doublestar.", err)) } return fileutil.GlobWithDoublestar(pattern, searchPath, limit) -- cgit v1.2.3