doctor result can display copiable CLI commands
Reviewed By: lblasa, ivanmisuno Differential Revision: D50383150 fbshipit-source-id: 201f239cc7d69bd03011ec817156163f9f6ed653
This commit is contained in:
committed by
Facebook GitHub Bot
parent
a0a9465c0b
commit
683fbfd6fb
@@ -71,11 +71,13 @@ export async function runHealthcheck(
|
||||
? {
|
||||
status: 'FAILED',
|
||||
message: checkResult.message,
|
||||
commands: checkResult.commands,
|
||||
}
|
||||
: checkResult.hasProblem && !check.isRequired
|
||||
? {
|
||||
status: 'WARNING',
|
||||
message: checkResult.message,
|
||||
commands: checkResult.commands,
|
||||
}
|
||||
: {status: 'SUCCESS', message: checkResult.message};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user