We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c708a2 commit 7607682Copy full SHA for 7607682
lib/services/doctor-service.ts
@@ -74,9 +74,13 @@ class DoctorService implements IDoctorService {
74
if (platform) {
75
infos = this.filterInfosByPlatform(infos, platform);
76
}
77
- this.printInfosCore(infos);
78
79
const warnings = this.filterInfosByType(infos, constants.WARNING_TYPE_NAME);
+ if (warnings.length > 0) {
80
+ this.printInfosCore(infos);
81
+ } else {
82
+ infos.map(info => this.$logger.trace(info.message));
83
+ }
84
return warnings.length === 0;
85
86
0 commit comments