@@ -188,7 +188,10 @@ pub async fn run_preflight_checks(
188188 Err ( e) => {
189189 result. source_permissions . push ( CheckResult :: fail (
190190 "connection" ,
191- format ! ( "Failed to re-establish connection to source for permission checks: {}" , e) ,
191+ format ! (
192+ "Failed to re-establish connection to source for permission checks: {}" ,
193+ e
194+ ) ,
192195 ) ) ;
193196 result. issues . push ( PreflightIssue {
194197 title : "Source connection for permissions failed" . to_string ( ) ,
@@ -209,7 +212,10 @@ pub async fn run_preflight_checks(
209212 Err ( e) => {
210213 result. target_permissions . push ( CheckResult :: fail (
211214 "connection" ,
212- format ! ( "Failed to re-establish connection to target for permission checks: {}" , e) ,
215+ format ! (
216+ "Failed to re-establish connection to target for permission checks: {}" ,
217+ e
218+ ) ,
213219 ) ) ;
214220 result. issues . push ( PreflightIssue {
215221 title : "Target connection for permissions failed" . to_string ( ) ,
@@ -288,9 +294,10 @@ async fn check_network_connectivity(
288294 }
289295 }
290296 }
291- result
292- . network
293- . push ( CheckResult :: pass ( db_type, format ! ( "{} database reachable" , db_type) ) ) ;
297+ result. network . push ( CheckResult :: pass (
298+ db_type,
299+ format ! ( "{} database reachable" , db_type) ,
300+ ) ) ;
294301 Ok ( Some ( db_url. to_string ( ) ) ) // Return the URL if connection was successful
295302 }
296303 Err ( e) => {
0 commit comments