cli: remove unsupported arguments from serve-web (#239731)

Fixes #238303
This commit is contained in:
Connor Peet
2025-02-05 13:20:23 -08:00
committed by GitHub
parent 2916260958
commit 90e4da155a
2 changed files with 0 additions and 14 deletions

View File

@@ -216,12 +216,6 @@ pub struct ServeWebArgs {
/// Specifies the directory that server data is kept in.
#[clap(long)]
pub server_data_dir: Option<String>,
/// Specifies the directory that user data is kept in. Can be used to open multiple distinct instances of Code.
#[clap(long)]
pub user_data_dir: Option<String>,
/// Set the root path for extensions.
#[clap(long)]
pub extensions_dir: Option<String>,
}
#[derive(Args, Debug, Clone)]

View File

@@ -778,14 +778,6 @@ impl ConnectionManager {
cmd.arg("--server-data-dir");
cmd.arg(a);
}
if let Some(a) = &args.args.user_data_dir {
cmd.arg("--user-data-dir");
cmd.arg(a);
}
if let Some(a) = &args.args.extensions_dir {
cmd.arg("--extensions-dir");
cmd.arg(a);
}
if args.args.without_connection_token {
cmd.arg("--without-connection-token");
}