Fix always trust your vscode

This commit is contained in:
allegroai 2023-10-09 13:51:57 +03:00
parent a843ef3321
commit eeb7583991

View File

@ -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)