Skip to content

Commit 6430b99

Browse files
authored
fix bug (#3149)
1 parent 6565b66 commit 6430b99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sweepai/core/lexical_search.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ def snippets_to_docs(snippets: list[Snippet], len_repo_cache_dir):
175175
for snippet in snippets:
176176
docs.append(
177177
Document(
178-
title=f"{snippet.file_path[len_repo_cache_dir:]}{snippet.start}-{snippet.end}",
178+
title=f"{snippet.file_path[len_repo_cache_dir:]}:{snippet.start}-{snippet.end}",
179179
content=snippet.get_snippet(add_ellipsis=False, add_lines=False),
180180
)
181181
)

0 commit comments

Comments
 (0)