Fix: Avoid passing relative_path='.' to plugin (not canonicalised)

This commit is contained in:
Dominik Jain committed 2025-12-22 19:31:05 +01:00
1 parent ea3307498a
commit 6b403f81f6
1 file changed
+2
+2
View File
@@ -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,