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/fileutil/fileutil.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'internal/fileutil') diff --git a/internal/fileutil/fileutil.go b/internal/fileutil/fileutil.go index 4f2957835..97d0f747e 100644 --- a/internal/fileutil/fileutil.go +++ b/internal/fileutil/fileutil.go @@ -11,6 +11,7 @@ import ( "time" "github.com/bmatcuk/doublestar/v4" + "github.com/sst/opencode/internal/status" ) var ( @@ -22,12 +23,12 @@ func init() { var err error rgPath, err = exec.LookPath("rg") if err != nil { - // logging.("Ripgrep (rg) not found in $PATH. Some features might be limited or slower.") + status.Warn("Ripgrep (rg) not found in $PATH. Some features might be limited or slower.") rgPath = "" } fzfPath, err = exec.LookPath("fzf") if err != nil { - // logging.Warn("FZF not found in $PATH. Some features might be limited or slower.") + status.Warn("FZF not found in $PATH. Some features might be limited or slower.") fzfPath = "" } } -- cgit v1.2.3