listr-update-renderer
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -20,6 +20,6 @@ 'use strict'; | ||
if ((task.isPending() || task.isSkipped()) && task.output) { | ||
const lastLine = task.output.trim().split('\n').filter(Boolean).pop().trim(); | ||
const lastLine = task.output.trim().split('\n').filter(Boolean).pop(); | ||
if (lastLine) { | ||
const out = indentString(`${figures.arrowRight} ${lastLine}`, level, ' '); | ||
const out = indentString(`${figures.arrowRight} ${lastLine.trim()}`, level, ' '); | ||
output.push(` ${chalk.gray(cliTruncate(out, process.stdout.columns - 3))}`); | ||
@@ -26,0 +26,0 @@ } |
{ | ||
"name": "listr-update-renderer", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Listr update renderer", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package