add an important logging: the code to run

This commit is contained in:
yzlin 2023-08-01 12:54:24 +08:00
parent 8abdca3057
commit 39a0a837dc

View file

@ -97,6 +97,7 @@ class RunCode(Action):
async def run(
self, code, mode="script", code_file_name="", test_code="", test_file_name="", command=[], **kwargs
):
logger.info(f"Running {' '.join(command)}")
if mode == "script":
outs, errs = await self.run_script(command=command, **kwargs)
elif mode == "text":