Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #232043 #233596

Merged
merged 7 commits into from
Nov 12, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix compilation
  • Loading branch information
sandy081 committed Nov 12, 2024
commit 72941d449d992e0a5f5085daeec4c07cdbf4034a
4 changes: 2 additions & 2 deletions cli/src/bin/code/legacy_args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ pub fn try_parse_legacy(
})),
..Default::default()
})
} else if let Some(exts) = args.remove("download-extension") {
} else if let Some(exts) = args.get("download-extension") {
Some(CliCore {
subcommand: Some(Commands::Extension(ExtensionArgs {
subcommand: ExtensionSubcommand::Download(DownloadExtensionArgs {
id: exts,
id: exts.to_vec(),
location: get_first_arg_value("location"),
}),
desktop_code_options,
Expand Down
Loading