File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed
Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -50,9 +50,7 @@ fn main() -> ExitCode {
5050 }
5151
5252 if outdated_examples. is_empty ( ) {
53- println ! (
54- "All examples are up-to-date with the latest wasm_opt version: {latest_wasm_opt}"
55- ) ;
53+ println ! ( "All examples are up-to-date with the latest wasm_opt version: {latest_wasm_opt}" ) ;
5654 return ExitCode :: from ( 0 ) ;
5755 }
5856
@@ -67,9 +65,7 @@ fn main() -> ExitCode {
6765 println ! ( "Updating all examples..." ) ;
6866
6967 let updated_count = update_all_examples ( & outdated_example_paths, & latest_wasm_opt) ;
70- println ! (
71- "Updated {updated_count} example configurations to use {latest_wasm_opt}"
72- ) ;
68+ println ! ( "Updated {updated_count} example configurations to use {latest_wasm_opt}" ) ;
7369
7470 ExitCode :: from ( 0 )
7571}
Original file line number Diff line number Diff line change @@ -32,9 +32,7 @@ pub fn get_latest_wasm_opt_version() -> String {
3232 . text ( )
3333 . unwrap_or_else ( |_| "Could not read error response" . to_string ( ) ) ;
3434
35- panic ! (
36- "GitHub API request failed with status: {status}. Details: {error_text}"
37- ) ;
35+ panic ! ( "GitHub API request failed with status: {status}. Details: {error_text}" ) ;
3836 }
3937
4038 let release: GitHubRelease = res. json ( ) . expect ( "Failed to parse GitHub API response" ) ;
You can’t perform that action at this time.
0 commit comments