Parcourir la source

Code cleaning

Leo il y a 9 ans
Parent
commit
140ed54563
1 fichiers modifiés avec 6 ajouts et 2 suppressions
  1. 6 2
      src/tmp_file.ml

+ 6 - 2
src/tmp_file.ml

@@ -175,8 +175,12 @@ let reset ~rc num cmd =
 
   let ac_log = get_accurate_log ~tmp:(init ()) () in
   (* The command (string) corresponding to the number *)
-  let cmd_str = (File_com.num_cmd2cmd ~rc cmd |> function Some s -> s
-                                  | None -> failwith "Out of bound") in
+  let cmd_str =
+    File_com.num_cmd2cmd ~rc cmd
+    |> function
+      Some s -> s
+      | None -> failwith "Out of bound"
+  in
 
   (* Current number of launch for that cmd *)
   let i = List.Assoc.find_exn ac_log cmd_str in