Skip to content

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

Merged
merged 2 commits into from
Mar 14, 2018

Conversation

Fatme
Copy link
Contributor

@Fatme Fatme commented Mar 13, 2018

Related to this PR NativeScript/nativescript-doctor#30
Should be merged after this PR telerik/mobile-cli-lib#1064

Fixes cloud builds regression problem.

if (platform) {
infos = this.filterInfosByPlatform(infos, platform);
}
let infos = await doctor.getInfos({ platform: platform });
Copy link
Contributor

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);
Copy link
Contributor

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?

Copy link
Contributor Author

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

@Fatme Fatme force-pushed the fatme/platform-specific-infos branch 2 times, most recently from 617d769 to 3a9b64c Compare March 14, 2018 10:26
@rosen-vladimirov
Copy link
Contributor

run ci

@rosen-vladimirov rosen-vladimirov force-pushed the fatme/platform-specific-infos branch from 7cdda13 to 17c3d75 Compare March 14, 2018 14:43
@rosen-vladimirov rosen-vladimirov merged commit 17deab1 into master Mar 14, 2018
@rosen-vladimirov rosen-vladimirov deleted the fatme/platform-specific-infos branch March 14, 2018 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants