diff --git a/desktop/doctor/src/index.tsx b/desktop/doctor/src/index.tsx index f02f59dcc..dc5244a6f 100644 --- a/desktop/doctor/src/index.tsx +++ b/desktop/doctor/src/index.tsx @@ -148,7 +148,7 @@ export function getHealthchecks(): FlipperDoctor.Healthchecks { run: async (e: FlipperDoctor.EnvironmentInfo) => { const hasProblem = e.IDEs == null || e.IDEs.Xcode == null; const message = hasProblem - ? `Xcode is not installed. ${installXcode}.` + ? `Xcode is not installed.\n${installXcode}.` : `Xcode version ${e.IDEs.Xcode.version} is installed at "${e.IDEs.Xcode.path}".`; return { hasProblem, diff --git a/desktop/flipper-ui-core/src/sandy-chrome/SetupDoctorScreen.tsx b/desktop/flipper-ui-core/src/sandy-chrome/SetupDoctorScreen.tsx index 552a7329e..569839f90 100644 --- a/desktop/flipper-ui-core/src/sandy-chrome/SetupDoctorScreen.tsx +++ b/desktop/flipper-ui-core/src/sandy-chrome/SetupDoctorScreen.tsx @@ -133,7 +133,11 @@ function CollapsableCategory(props: { key={check.key} header={check.label} extra={}> - {check.result.message} + {check.result.message?.split('\n').map((line, index) => ( + + {line} + + ))} {check.result.commands && ( {check.result.commands.map(({title, command}, i) => (