diff --git a/Cargo.lock b/Cargo.lock index 5d7e89c..2836329 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,5 +1,7 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. +version = 3 + [[package]] name = "adler" version = "1.0.2" @@ -462,9 +464,9 @@ dependencies = [ [[package]] name = "derive_more" -version = "0.99.13" +version = "0.99.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f82b1b72f1263f214c0f823371768776c4f5841b942c9883aa8e5ec584fd0ba6" +checksum = "5cc7b9cef1e351660e5443924e4f43ab25fbbed3e9a5f052df3677deb4d6b320" dependencies = [ "proc-macro2", "quote", @@ -1152,9 +1154,8 @@ dependencies = [ [[package]] name = "pueue-lib" version = "0.12.3" -source = "git+https://github.com/Nukesor/pueue-lib?branch=master#3da6c8434bbfb66c4304443f48da5fe6cfc41df3" +source = "git+https://github.com/Nukesor/pueue-lib?branch=master#fbf9ad1e81e8e0444d37121a1867a017e0dfeb06" dependencies = [ - "anyhow", "async-std", "async-tls", "async-trait", @@ -1175,6 +1176,7 @@ dependencies = [ "shellexpand", "snap", "strum_macros", + "thiserror", "whoami", ] @@ -1685,11 +1687,12 @@ checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" [[package]] name = "value-bag" -version = "1.0.0-alpha.6" +version = "1.0.0-alpha.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b676010e055c99033117c2343b33a40a30b91fecd6c49055ac9cd2d6c305ab1" +checksum = "dd320e1520f94261153e96f7534476ad869c14022aee1e59af7c778075d840ae" dependencies = [ "ctor", + "version_check", ] [[package]] diff --git a/client/commands/edit.rs b/client/commands/edit.rs index b6c58b0..bfc6432 100644 --- a/client/commands/edit.rs +++ b/client/commands/edit.rs @@ -48,7 +48,7 @@ pub async fn edit(stream: &mut GenericStream, task_id: usize, edit_path: bool) - }); send_message(edit_message, stream).await?; - receive_message(stream).await + Ok(receive_message(stream).await?) } /// This function allows the user to edit a task's command or path.