File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ let get_global_arg ~default ~arg_name:n =
137137 Hash_set. add accessed_global_args n;
138138 result
139139
140- let () =
140+ let restore_settings () =
141141 settings.log_level < - Int. of_string @@ get_global_arg ~arg_name: " log_level" ~default: " 0" ;
142142 settings.debug_log_from_routines < -
143143 Bool. of_string @@ get_global_arg ~arg_name: " debug_log_from_routines" ~default: " false" ;
@@ -152,6 +152,8 @@ let () =
152152 settings.print_decimals_precision < -
153153 Int. of_string @@ get_global_arg ~arg_name: " print_decimals_precision" ~default: " 2"
154154
155+ let () = restore_settings ()
156+
155157let build_file fname =
156158 let build_files_dir = " build_files" in
157159 (try assert (Stdlib.Sys. is_directory build_files_dir)
You can’t perform that action at this time.
0 commit comments