mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
cli: fix connection default being applied (#183827)
This commit is contained in:
parent
5d83e25547
commit
62c33b3ca2
|
@ -611,7 +611,7 @@ async fn handle_serve(
|
|||
) -> Result<EmptyObject, AnyError> {
|
||||
// fill params.extensions into code_server_args.install_extensions
|
||||
let mut csa = c.code_server_args.clone();
|
||||
csa.connection_token = params.connection_token;
|
||||
csa.connection_token = params.connection_token.or(csa.connection_token);
|
||||
csa.install_extensions.extend(params.extensions.into_iter());
|
||||
|
||||
let params_raw = ServerParamsRaw {
|
||||
|
|
Loading…
Reference in a new issue