Skip to content

Commit

Permalink
chore: rename function
Browse files Browse the repository at this point in the history
  • Loading branch information
eWert-Online committed Sep 19, 2024
1 parent 24117dd commit 813de28
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/Main.ml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ let print_error msg =
Printf.ksprintf printer msg
;;

let handle_response_eio response =
let handle_response response =
match response with
| Ok () -> 0
| Error `OSnap_Test_Failure -> 1
Expand Down Expand Up @@ -145,7 +145,7 @@ let default_cmd =
in
result
in
handle_response_eio
handle_response
@@ Eio_main.run
@@ fun env ->
Lwt_eio.with_event_loop ~clock:(Eio.Stdenv.clock env)
Expand Down Expand Up @@ -182,7 +182,7 @@ let default_cmd =

let cleanup_cmd =
let exec config_path =
handle_response_eio @@ Eio_main.run @@ fun env -> OSnap.cleanup ~env ~config_path
handle_response @@ Eio_main.run @@ fun env -> OSnap.cleanup ~env ~config_path
in
( (let open Term in
const exec $ config)
Expand Down

0 comments on commit 813de28

Please sign in to comment.