diff options
Diffstat (limited to 'internal/fileutil/fileutil.go')
| -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 = "" } } |
