-
Notifications
You must be signed in to change notification settings - Fork 907
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doctor: show required versions #763
Changes from 7 commits
0e93506
cc979cf
bda9098
acd9744
d2eb87b
57d782b
3cacf36
f1698f0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -89,13 +89,19 @@ export type HealthCheckInterface = { | |
description?: string; | ||
getDiagnostics: ( | ||
environmentInfo: EnvironmentInfo, | ||
) => Promise<{version?: string; needsToBeFixed: boolean | string}>; | ||
) => Promise<{ | ||
version?: string; | ||
versionRange?: string; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. shouldn't we require versions and ranges from all health checks? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Some of them are not based on comparing versions, just checking if they are there or not (e.g. |
||
needsToBeFixed: boolean | string; | ||
}>; | ||
runAutomaticFix: RunAutomaticFix; | ||
}; | ||
|
||
export type HealthCheckResult = { | ||
label: string; | ||
needsToBeFixed: boolean; | ||
version?: 'Not Found' | string; | ||
versionRange?: string; | ||
description: string | undefined; | ||
runAutomaticFix: RunAutomaticFix; | ||
isRequired: boolean; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What if I forgot to install
build-tools
when usingsdkmanager
manually? Here will throw anCannot read property '0' of undefined
error, instead of telling me to installbuild-tools
throughsdymanager "build-tools;29.0.0"
.