@@ -240,10 +240,7 @@ pub fn run_unified_convert_command(
240240 }
241241 println ! (
242242 "{}" ,
243- ui:: status_line_stdout(
244- ui:: Tone :: Success ,
245- "Successfully converted in strict mode" ,
246- )
243+ ui:: status_line_stdout( ui:: Tone :: Success , "Successfully converted in strict mode" , )
247244 ) ;
248245 return ;
249246 }
@@ -270,10 +267,7 @@ pub fn run_unified_convert_command(
270267 }
271268 println ! (
272269 "{}" ,
273- ui:: status_line_stdout(
274- ui:: Tone :: Success ,
275- "Successfully converted in strict mode" ,
276- )
270+ ui:: status_line_stdout( ui:: Tone :: Success , "Successfully converted in strict mode" , )
277271 ) ;
278272 return ;
279273 }
@@ -295,10 +289,7 @@ pub fn run_unified_convert_command(
295289 }
296290 println ! (
297291 "{}" ,
298- ui:: status_line_stdout(
299- ui:: Tone :: Success ,
300- "Successfully converted in strict mode" ,
301- )
292+ ui:: status_line_stdout( ui:: Tone :: Success , "Successfully converted in strict mode" , )
302293 ) ;
303294 return ;
304295 }
@@ -332,10 +323,7 @@ pub fn run_unified_convert_command(
332323 if input. ends_with ( ".json" ) && options. input_format . is_none ( ) {
333324 println ! (
334325 "{}" ,
335- ui:: status_line_stdout(
336- ui:: Tone :: Info ,
337- "Trying standard JSON format detection..." ,
338- )
326+ ui:: status_line_stdout( ui:: Tone :: Info , "Trying standard JSON format detection..." , )
339327 ) ;
340328 // Try to use the standard format detection which will show proper JSON parsing errors
341329 if let Err ( e) = convert_auto ( & input, & output) {
@@ -375,10 +363,7 @@ pub fn run_unified_convert_command(
375363 if let Err ( e) = try_custom_format_conversion ( & input, & output, & options. input_format ) {
376364 println ! (
377365 "{}" ,
378- ui:: status_line_stdout(
379- ui:: Tone :: Error ,
380- "Custom format conversion failed" ,
381- )
366+ ui:: status_line_stdout( ui:: Tone :: Error , "Custom format conversion failed" , )
382367 ) ;
383368 eprintln ! ( "Error: {}" , e) ;
384369 std:: process:: exit ( 1 ) ;
@@ -405,10 +390,7 @@ pub fn run_unified_convert_command(
405390 if let Err ( e) = try_explicit_format_conversion ( & input, & output, & input_fmt, & output_fmt) {
406391 println ! (
407392 "{}" ,
408- ui:: status_line_stdout(
409- ui:: Tone :: Error ,
410- "Explicit format conversion failed" ,
411- )
393+ ui:: status_line_stdout( ui:: Tone :: Error , "Explicit format conversion failed" , )
412394 ) ;
413395 eprintln ! ( "Error: {}" , e) ;
414396 std:: process:: exit ( 1 ) ;
0 commit comments