Fix ripgrep error message to avoid confusing installation instructions
- Remove suggestion to install homebrew which was confusing for users - Simplify error message to just state 'ripgrep is not installed' - Addresses CON-3354: confusing error message when ripgrep not installed
This commit is contained in:
parent
2c41dff3d5
commit
c3365415d1
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