(json: &str)
| 97 | } |
| 98 | |
| 99 | fn build_pipe_command_from_json(json: &str) -> Result<String> { |
| 100 | let exec_harness = InternalCommands::ExecHarness(ExecHarnessArgs { |
| 101 | args: vec!["-".into()], |
| 102 | }) |
| 103 | .get_shell_command()?; |
| 104 | Ok(format!( |
| 105 | "{exec_harness} <<'CODSPEED_EOF'\n{json}\nCODSPEED_EOF" |
| 106 | )) |
| 107 | } |
no test coverage detected