diff options
| author | Adictya <[email protected]> | 2025-05-15 08:46:40 +0530 |
|---|---|---|
| committer | Adam <[email protected]> | 2025-05-15 08:29:54 -0500 |
| commit | 3ee213081ec6bf42f6947d03e256319c29a8ce0e (patch) | |
| tree | b5da8dc591d7b78c2a6b31eb77bdbc9ac48d223b /internal/fileutil | |
| parent | 15bf40bc102ed5426fa2148b9e8f39acef1174a0 (diff) | |
| download | opencode-3ee213081ec6bf42f6947d03e256319c29a8ce0e.tar.gz opencode-3ee213081ec6bf42f6947d03e256319c29a8ce0e.zip | |
fix(complete-module): logging
Diffstat (limited to 'internal/fileutil')
| -rw-r--r-- | internal/fileutil/fileutil.go | 5 |
1 files changed, 3 insertions, 2 deletions
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 = "" } } |
