mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-04 07:15:54 +01:00
cli: add --install-extension command for use with tunnel server (#207741)
* cli: add --install-extension command for use with tunnel server * fix clippy
This commit is contained in:
@@ -42,6 +42,9 @@ pub fn try_parse_legacy(
|
||||
}
|
||||
}
|
||||
} else if let Ok(value) = arg.to_value() {
|
||||
if value == "tunnel" {
|
||||
return None;
|
||||
}
|
||||
if let Some(last_arg) = &last_arg {
|
||||
args.get_mut(last_arg)
|
||||
.expect("expected to have last arg")
|
||||
|
||||
Reference in New Issue
Block a user