| 48701 | const human = `${info.name}@${info.version}`; |
| 48702 | |
| 48703 | const pushError = msg => { |
| 48704 | const ref = info._reference; |
| 48705 | |
| 48706 | if (ref && ref.optional) { |
| 48707 | ref.ignore = true; |
| 48708 | ref.incompatible = true; |
| 48709 | |
| 48710 | reporter.info(`${human}: ${msg}`); |
| 48711 | if (!didIgnore) { |
| 48712 | reporter.info(reporter.lang('optionalCompatibilityExcluded', human)); |
| 48713 | didIgnore = true; |
| 48714 | } |
| 48715 | } else { |
| 48716 | reporter.error(`${human}: ${msg}`); |
| 48717 | didError = true; |
| 48718 | } |
| 48719 | }; |
| 48720 | |
| 48721 | const os = info.os, |
| 48722 | cpu = info.cpu, |