Archived
1
0

Disable "Show Local" button, add --disable-file-uploads option and add file operation trace level logs (#6557)

This commit is contained in:
Jeff Miller
2023-12-07 16:10:22 -05:00
committed by GitHub
parent 26a3437849
commit 9622830518
8 changed files with 369 additions and 39 deletions

View File

@ -48,6 +48,7 @@ export interface UserProvidedCodeArgs {
"github-auth"?: string
"disable-update-check"?: boolean
"disable-file-downloads"?: boolean
"disable-file-uploads"?: boolean
"disable-workspace-trust"?: boolean
"disable-getting-started-override"?: boolean
"disable-proxy"?: boolean
@ -170,6 +171,10 @@ export const options: Options<Required<UserProvidedArgs>> = {
description:
"Disable file downloads from Code. This can also be set with CS_DISABLE_FILE_DOWNLOADS set to 'true' or '1'.",
},
"disable-file-uploads": {
type: "boolean",
description: "Disable file uploads.",
},
"disable-workspace-trust": {
type: "boolean",
description: "Disable Workspace Trust feature. This switch only affects the current session.",