Skip to content

Commit b20f9b4

Browse files
Explicitly disable extension for untrusted workspaces (#3416)
This extension can read and execute code from a workspace folder, therefore it is a potential security risk to run the extension in an untrusted workspace. Until we can put more effort into partial support of safe features, we will explicitly disable this extension when the workspace is untrusted.
1 parent 9854e9e commit b20f9b4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

package.json

+5
Original file line numberDiff line numberDiff line change
@@ -895,6 +895,11 @@
895895
}
896896
}
897897
},
898+
"capabilities": {
899+
"untrustedWorkspaces": {
900+
"supported": false
901+
}
902+
},
898903
"configurationDefaults": {
899904
"[powershell]": {
900905
"debug.saveBeforeStart": "nonUntitledEditorsInActiveGroup",

0 commit comments

Comments
 (0)