report the search content result

This commit is contained in:
shenchucheng 2024-05-23 21:16:17 +08:00
parent 76e3a14d38
commit 6a38d51733

View file

@ -100,8 +100,7 @@ class Editor:
file_path=file_path,
block_content=block_content,
)
self.resource.report(result.file_path, "path",
extra={"type": "search", "line_range": {"start": start, "end": end}})
self.resource.report(result.file_path, "path", extra={"type": "search", "line": i, "symbol": symbol})
return result
return None