mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-13 02:14:49 +00:00
Fix: Avoid passing relative_path='.' to plugin (not canonicalised)
This commit is contained in:
1 parent
ea3307498a
commit
6b403f81f6
1 file changed
+2
@@ -48,6 +48,8 @@ class JetBrainsFindSymbolTool(Tool, ToolMarkerSymbolicRead, ToolMarkerOptional):
|
||||
-1 means the default value from the config will be used.
|
||||
:return: JSON string: a list of symbols (with locations) matching the name.
|
||||
"""
|
||||
if relative_path == ".":
|
||||
relative_path = None
|
||||
with JetBrainsPluginClient.from_project(self.project) as client:
|
||||
response_dict = client.find_symbol(
|
||||
name_path=name_path_pattern,
|
||||
|
||||
Reference in new issue
Block a user