Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
Update crates/cli/src/lib.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Tuomas Mäkinen <[email protected]>
  • Loading branch information
musitdev and tuommaki authored Jan 19, 2024
1 parent aef408f commit 6fe08a2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion crates/cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ pub async fn run_exec_command(
)
})?;

// serde_json::from_str::<JsonExecArgs>("{\"program\":\"step1\",\"cmd_args\":[{\"name\":\"--nonce\",\"value\":\"42\"}],\"inputs\":[]}").map_err(|err| format!("Json test decoding error :{err}")).unwrap();

let steps = serde_json::from_str::<Vec<JsonExecArgs>>(&json_tasks)
.map_err(|err| format!("Json decoding error :{err} with :{json_tasks}"))?
Expand Down

0 comments on commit 6fe08a2

Please sign in to comment.