From eeb7583991aba4704d863a8d22a76d912b05f608 Mon Sep 17 00:00:00 2001 From: allegroai <> Date: Mon, 9 Oct 2023 13:51:57 +0300 Subject: [PATCH] Fix always trust your vscode --- clearml_session/interactive_session_task.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clearml_session/interactive_session_task.py b/clearml_session/interactive_session_task.py index e7c297b..d4c8a0f 100644 --- a/clearml_session/interactive_session_task.py +++ b/clearml_session/interactive_session_task.py @@ -398,7 +398,8 @@ def start_vscode_server(hostname, hostnames, param, task, env, bind_ip="127.0.0. "python.pythonPath": sys.executable, "terminal.integrated.shell.linux": "/bin/bash" if Path("/bin/bash").is_file() else None, "security.workspace.trust.untrustedFiles": "open", - "security.workspace.trust.startupPrompt": "never", + # "security.workspace.trust.startupPrompt": "never", + "security.workspace.trust.enabled": False, }) with open(settings.as_posix(), 'wt') as f: json.dump(base_json, f)