From 6a7acbe52a953b49971bdf1cd32928b9ad4898fd Mon Sep 17 00:00:00 2001 From: Phodal Huang Date: Wed, 12 Feb 2025 11:27:39 +0800 Subject: [PATCH] fix(search): correct RIPgrep installation link formatting The link in the error message for RIPgrep binary not found was missing a closing quotation mark, which could cause issues with string handling. This commit fixes the formatting. --- .../cc/unitmesh/devti/agenttool/search/RipgrepSearcher.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/kotlin/cc/unitmesh/devti/agenttool/search/RipgrepSearcher.kt b/core/src/main/kotlin/cc/unitmesh/devti/agenttool/search/RipgrepSearcher.kt index 8100d371f..3b0f6c36e 100644 --- a/core/src/main/kotlin/cc/unitmesh/devti/agenttool/search/RipgrepSearcher.kt +++ b/core/src/main/kotlin/cc/unitmesh/devti/agenttool/search/RipgrepSearcher.kt @@ -32,7 +32,7 @@ object RipgrepSearcher { try { val rgPath = findRipgrepBinary() if (rgPath == null) { - return@supplyAsync "Ripgrep binary not found, try install it first: https://github.com/BurntSushi/ripgrep?tab=readme-ov-file#installation + return@supplyAsync "Ripgrep binary not found, try install it first: https://github.com/BurntSushi/ripgrep?tab=readme-ov-file#installation" } val results = executeRipgrep(