Compare commits

...

2 Commits

View File

@@ -729,7 +729,7 @@ fn run_client(config: &Config, subscription: &str) {
eprintln!("Failed to send subscription: {}", e); eprintln!("Failed to send subscription: {}", e);
std::process::exit(1); std::process::exit(1);
} }
println!( info!(
"Subscribed to '{}' events. Waiting for events...", "Subscribed to '{}' events. Waiting for events...",
subscription subscription
); );
@@ -825,7 +825,7 @@ fn run_workspaces_client(config: &Config) {
} }
let mut workspaces_tmp = workspaces.clone(); let mut workspaces_tmp = workspaces.clone();
workspaces_tmp.sort_by(|a, b| a.id.cmp(&b.id)); workspaces_tmp.sort_by(|a, b| a.id.cmp(&b.id));
let mut workspace = workspaces_tmp let workspace = workspaces_tmp
.iter_mut() .iter_mut()
.find(|w| w.id == active_id) .find(|w| w.id == active_id)
.unwrap(); .unwrap();