Comparing version 1.1.6 to 1.1.7
@@ -61,5 +61,6 @@ "use strict"; | ||
} | ||
if ((task.isPending() || task.hasFailed() || this.options.collapse === false || (task.isCompleted() && !task.hasTitle())) | ||
&& (task.hasFailed() || this.options.showSubtasks !== false) | ||
&& task.hasSubtasks()) { | ||
if ((task.isPending() || task.hasFailed() | ||
|| (task.isCompleted() && !task.hasTitle()) | ||
|| (task.isCompleted() && this.options.collapse === false)) | ||
&& this.options.showSubtasks !== false && task.hasSubtasks()) { | ||
const subtaskLevel = !task.hasTitle() ? level : level + 1; | ||
@@ -66,0 +67,0 @@ const subtaskRender = this.multiLineRenderer(task.subtasks, subtaskLevel); |
{ | ||
"name": "listr2", | ||
"version": "1.1.6", | ||
"version": "1.1.7", | ||
"description": "Terminal task list reborn!", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
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
76677
1149