Skip to content

Commit 0f6fcc3

Browse files
committed
Don't print warnings messages twice when tns doctor command is executed and env is not correctly configured.
1 parent 678f098 commit 0f6fcc3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/services/doctor-service.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,11 @@ class DoctorService implements IDoctorService {
3434
await this.$analyticsService.track("DoctorEnvironmentSetup", hasWarnings ? "incorrect" : "correct");
3535
}
3636

37-
this.printInfosCore(infos);
38-
3937
if (hasWarnings) {
4038
this.$logger.info("There seem to be issues with your configuration.");
4139
} else {
4240
this.$logger.out("No issues were detected.".bold);
41+
this.printInfosCore(infos);
4342
}
4443

4544
try {

0 commit comments

Comments
 (0)