mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-12 18:16:43 +00:00
Add version guard for debug tool
This commit is contained in:
1 parent
b331183c76
commit
3b71b3f306
1 file changed
+2
@@ -641,6 +641,7 @@ class JetBrainsPluginClient(ToStringMixin):
|
||||
:param expression: the Groovy expression to evaluate
|
||||
:return: the response containing REPL key and result
|
||||
"""
|
||||
self._require_version_at_least(2023, 2, 16)
|
||||
request_data = {
|
||||
"replKey": repl_key,
|
||||
"expression": expression,
|
||||
@@ -654,6 +655,7 @@ class JetBrainsPluginClient(ToStringMixin):
|
||||
:param repl_key: the key identifying the REPL instance to close
|
||||
:return: the status response
|
||||
"""
|
||||
self._require_version_at_least(2023, 2, 16)
|
||||
request_data = {
|
||||
"replKey": repl_key,
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user