Merge pull request #209 from continuedev/fix/ripgrep-error-message
Fix confusing ripgrep error message
This commit is contained in:
commit
d383a749c5
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ export const searchCodeTool: Tool = {
|
|||
}
|
||||
if (error instanceof Error) {
|
||||
if (error.message.includes("command not found")) {
|
||||
return `Error: ripgrep is not installed. Inform the user and run /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" to install it`;
|
||||
return `Error: ripgrep is not installed.`;
|
||||
}
|
||||
}
|
||||
return `Error executing ripgrep: ${
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue