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 3522050 commit 0dbb616Copy full SHA for 0dbb616
lib/services/doctor-service.ts
@@ -116,6 +116,16 @@ class DoctorService implements IDoctorService {
116
}
117
118
private printInfosCore(infos: NativeScriptDoctor.IInfo[]): void {
119
+ if (!helpers.isInteractive()) {
120
+ infos.map(info => {
121
+ let message = info.message;
122
+ if (info.type === constants.WARNING_TYPE_NAME) {
123
+ message = `WARNING: ${info.message.yellow} ${EOL} ${info.additionalInformation} ${EOL}`;
124
+ }
125
+ this.$logger.out(message);
126
+ });
127
128
+
129
infos.filter(info => info.type === constants.INFO_TYPE_NAME)
130
.map(info => {
131
const spinner = this.$terminalSpinnerService.createSpinner();
0 commit comments