-
-
Notifications
You must be signed in to change notification settings - Fork 197
Get sysInfos based on specified platform #3455
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
Conversation
lib/services/doctor-service.ts
Outdated
if (platform) { | ||
infos = this.filterInfosByPlatform(infos, platform); | ||
} | ||
let infos = await doctor.getInfos({ platform: platform }); |
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.
You can use short syntax here:
const infos = await doctor.getInfos({ platform });
@@ -42,15 +42,15 @@ class DoctorService implements IDoctorService { | |||
if (hasWarnings) { | |||
this.$logger.info("There seem to be issues with your configuration."); | |||
await this.promptForHelp(); | |||
} else { | |||
this.$logger.out("No issues were detected.".bold); |
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.
will we print this on each tns build ...
when there are no issues?
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.
No. This will be printed only on doctor command
617d769
to
3a9b64c
Compare
run ci |
7cdda13
to
17c3d75
Compare
Related to this PR NativeScript/nativescript-doctor#30
Should be merged after this PR telerik/mobile-cli-lib#1064
Fixes cloud builds regression problem.