From c5f574a648d634efbec286016f1a510732c0d483 Mon Sep 17 00:00:00 2001 From: rosen-vladimirov Date: Wed, 14 Mar 2018 23:25:57 +0200 Subject: [PATCH] fix: Do not print sysinfo if everything is fine During commands like prepare, build, run, etc. CLI checks the local environment for specified platform. In case there are issues, the full system information should be printed. However, in case everything is fine, CLI should not print the information. Fix this by removing incorrect line that prints all of the info. --- lib/services/doctor-service.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/services/doctor-service.ts b/lib/services/doctor-service.ts index 5cccff7cf4..f607f5ed43 100644 --- a/lib/services/doctor-service.ts +++ b/lib/services/doctor-service.ts @@ -71,7 +71,6 @@ class DoctorService implements IDoctorService { public async canExecuteLocalBuild(platform?: string): Promise { const infos = await doctor.getInfos({ platform }); - this.printInfosCore(infos); const warnings = this.filterInfosByType(infos, constants.WARNING_TYPE_NAME); if (warnings.length > 0) {