ticketlens 0.38.19 → 0.38.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -155,7 +155,7 @@ export async function checkConnectivity({
|
|
|
155
155
|
}
|
|
156
156
|
const summary = results
|
|
157
157
|
.map(r => r.ok ? `${r.name}: ok` : `${r.name}: ${r.error}${r.hint ? ` → ${r.hint}` : ''}`)
|
|
158
|
-
.join('
|
|
158
|
+
.join('\n');
|
|
159
159
|
return {
|
|
160
160
|
id: 'connectivity', label: 'Tracker connectivity',
|
|
161
161
|
ok: failedCount === 0,
|
|
@@ -26,7 +26,9 @@ function renderPlain(checks, { fixed, skipped, stream }) {
|
|
|
26
26
|
for (const check of checks) {
|
|
27
27
|
const icon = check.ok ? s.green('✔') : s.red('✖');
|
|
28
28
|
stream.write(` ${icon} ${check.label}: ${check.message}\n`);
|
|
29
|
-
if (!check.ok && check.hint)
|
|
29
|
+
if (!check.ok && check.hint) {
|
|
30
|
+
for (const line of check.hint.split('\n')) stream.write(` ${s.dim(line)}\n`);
|
|
31
|
+
}
|
|
30
32
|
}
|
|
31
33
|
if (fixed.length > 0) {
|
|
32
34
|
stream.write(`\n ${s.green('Fixed:')} ${fixed.join(', ')}\n`);
|