Comparing version 0.5.2 to 0.5.3
{ | ||
"name": "cli-task", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"repository": "https://github.com/astoilkov/cli-task", | ||
@@ -5,0 +5,0 @@ "description": "", |
@@ -100,3 +100,3 @@ "use strict"; | ||
if (step.child) { | ||
text += this.getTextAtLevel(step.child, level + 1); | ||
text += this.getTextAtLevel(step.child, step.name ? level + 1 : level); | ||
} | ||
@@ -103,0 +103,0 @@ }); |
@@ -12,3 +12,3 @@ import { IRendererOptions } from './Renderer'; | ||
[key: string]: any; | ||
}): void; | ||
}): this; | ||
private getCurrentStep; | ||
@@ -15,0 +15,0 @@ private execTasks; |
@@ -45,2 +45,3 @@ "use strict"; | ||
this.options = options; | ||
return this; | ||
} | ||
@@ -51,3 +52,3 @@ getCurrentStep() { | ||
let step = queue.pop(); | ||
if (step.status == Step_1.StepStatus.Running) { | ||
if (step.status == Step_1.StepStatus.Running || step.status == Step_1.StepStatus.Failure) { | ||
if (step.child) { | ||
@@ -54,0 +55,0 @@ queue.push(...step.child.steps); |
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
18385
544