explicit instructions for idb
Summary: Add explicit instructions how to install idb internally Reviewed By: LukeDefeo Differential Revision: D51600754 fbshipit-source-id: c40d5d07c4cb570a7c51699ce0e4b8a67c506147
This commit is contained in:
committed by
Facebook GitHub Bot
parent
4e10bb1b43
commit
3b1763bd7d
@@ -288,13 +288,17 @@ export function getHealthchecks(): FlipperDoctor.Healthchecks {
|
||||
const result = await tryExecuteCommand(
|
||||
`${settings?.idbPath} --help`,
|
||||
);
|
||||
const hasProblem = result.hasProblem;
|
||||
const message = hasProblem
|
||||
? getIdbInstallationInstructions(settings.idbPath)
|
||||
: 'Flipper is configured to use your IDB installation.';
|
||||
if (result.hasProblem) {
|
||||
return {
|
||||
hasProblem: true,
|
||||
...getIdbInstallationInstructions(settings.idbPath),
|
||||
};
|
||||
}
|
||||
|
||||
return {
|
||||
hasProblem,
|
||||
message,
|
||||
hasProblem: false,
|
||||
message:
|
||||
'Flipper is configured to use your IDB installation.',
|
||||
};
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user