Skip to content

Commit

Permalink
fix: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
varex83 committed Dec 16, 2024
1 parent 9789c3c commit fcae8e2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions api/src/handlers/scarb_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@ pub async fn scarb_test_async(

#[instrument(skip(engine))]
#[get("/scarb-test-async/<process_id>")]
pub async fn get_scarb_test_result(
process_id: &str,
engine: &State<WorkerEngine>,
) -> TestResponse {
pub async fn get_scarb_test_result(process_id: &str, engine: &State<WorkerEngine>) -> TestResponse {
info!("/scarb-test-async/{:?}", process_id);
fetch_process_result(process_id, engine, |result| match result {
Ok(ApiCommandResult::Test(test_result)) => test_result.clone(),
Expand Down

0 comments on commit fcae8e2

Please sign in to comment.