Skip to content

Commit c5f574a

Browse files
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.
1 parent 2d96010 commit c5f574a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/services/doctor-service.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ class DoctorService implements IDoctorService {
7171

7272
public async canExecuteLocalBuild(platform?: string): Promise<boolean> {
7373
const infos = await doctor.getInfos({ platform });
74-
this.printInfosCore(infos);
7574

7675
const warnings = this.filterInfosByType(infos, constants.WARNING_TYPE_NAME);
7776
if (warnings.length > 0) {

0 commit comments

Comments
 (0)