Comparing version 1.1.2 to 1.1.3
@@ -65,3 +65,5 @@ "use strict"; | ||
const subtaskLevel = !task.hasTitle() ? level : level + 1; | ||
output = [...output, this.multiLineRenderer(task.subtasks, subtaskLevel)]; | ||
if (task.subtasks.some((subtask) => subtask.hasTitle())) { | ||
output = [...output, this.multiLineRenderer(task.subtasks, subtaskLevel)]; | ||
} | ||
} | ||
@@ -68,0 +70,0 @@ if (task.isCompleted()) { |
{ | ||
"name": "listr2", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"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
75024
1121