internal/llm/tools/grep.go 🔗
@@ -434,7 +434,7 @@ func isBinaryFile(filePath string) bool {
 	}
 
 	// Check for null bytes (common in binary files)
-	for i := 0; i < n; i++ {
+	for i := range n {
 		if buffer[i] == 0 {
 			return true
 		}
  Raphael Amorim created
internal/llm/tools/grep.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -434,7 +434,7 @@ func isBinaryFile(filePath string) bool {
 	}
 
 	// Check for null bytes (common in binary files)
-	for i := 0; i < n; i++ {
+	for i := range n {
 		if buffer[i] == 0 {
 			return true
 		}