mirror of
https://github.com/clearml/clearml-session
synced 2025-01-31 02:46:56 +00:00
Fix always trust your vscode
This commit is contained in:
parent
a843ef3321
commit
eeb7583991
@ -398,7 +398,8 @@ def start_vscode_server(hostname, hostnames, param, task, env, bind_ip="127.0.0.
|
|||||||
"python.pythonPath": sys.executable,
|
"python.pythonPath": sys.executable,
|
||||||
"terminal.integrated.shell.linux": "/bin/bash" if Path("/bin/bash").is_file() else None,
|
"terminal.integrated.shell.linux": "/bin/bash" if Path("/bin/bash").is_file() else None,
|
||||||
"security.workspace.trust.untrustedFiles": "open",
|
"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:
|
with open(settings.as_posix(), 'wt') as f:
|
||||||
json.dump(base_json, f)
|
json.dump(base_json, f)
|
||||||
|
Loading…
Reference in New Issue
Block a user