File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
finecode_extension_runner/src/finecode_extension_runner/action_handlers Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 11import dataclasses
22import shutil
33
4- import tomlkit
5-
64from finecode_extension_api import code_action
75from finecode_extension_api .actions import prepare_envs as prepare_envs_action
86from finecode_extension_api .interfaces import (
@@ -41,7 +39,7 @@ async def run(
4139 [env_info .project_def_path for env_info in payload .envs ]
4240 )
4341 if len (project_defs_pathes ) != 1 :
44- ... # TODO: error
42+ raise code_action . ActionFailedException ( "PrepareEnvsReadConfigsHandler supports only reading config of envs from the current project" )
4543
4644 project_raw_config = await self .project_info_provider .get_project_raw_config ()
4745
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ async def run(
4040 [env_info .project_def_path for env_info in payload .envs ]
4141 )
4242 if len (project_defs_pathes ) != 1 :
43- ... # TODO: error
43+ raise code_action . ActionFailedException ( "PrepareRunnersReadConfigsHandler supports only reading config of envs from the current project" )
4444
4545 project_raw_config = await self .project_info_provider .get_project_raw_config ()
4646
You can’t perform that action at this time.
0 commit comments