File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -87,10 +87,10 @@ fn run_splashsurf() -> Result<(), anyhow::Error> {
8787 logging:: log_program_info ( ) ;
8888
8989 // Delegate to subcommands
90- match & cmd_args. subcommand {
91- Subcommand :: Reconstruct ( cmd_args) => reconstruction:: reconstruct_subcommand ( cmd_args) ? ,
92- Subcommand :: Convert ( cmd_args) => convert:: convert_subcommand ( cmd_args) ? ,
93- }
90+ let result = match & cmd_args. subcommand {
91+ Subcommand :: Reconstruct ( cmd_args) => reconstruction:: reconstruct_subcommand ( cmd_args) ,
92+ Subcommand :: Convert ( cmd_args) => convert:: convert_subcommand ( cmd_args) ,
93+ } ;
9494
9595 // Write coarse_prof stats using log::info
9696 info ! ( "Timings:" ) ;
@@ -114,7 +114,7 @@ fn run_splashsurf() -> Result<(), anyhow::Error> {
114114 chrono:: Local :: now( ) . to_rfc3339_opts( chrono:: SecondsFormat :: Micros , false )
115115 ) ;
116116
117- Ok ( ( ) )
117+ result
118118}
119119
120120#[ derive( Copy , Clone , Debug ) ]
You can’t perform that action at this time.
0 commit comments