@oclif/multi-stage-output 0.7.2 → 0.7.3

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.
@@ -93,11 +93,11 @@ class CIMultiStageOutput {
93
93
  break;
94
94
  }
95
95
  case 'current': {
96
+ if (!this.startTimes.has(stage))
97
+ this.startTimes.set(stage, Date.now());
96
98
  if (Date.now() - this.lastUpdateTime < this.messageTimeout)
97
99
  break;
98
100
  this.lastUpdateTime = Date.now();
99
- if (!this.startTimes.has(stage))
100
- this.startTimes.set(stage, Date.now());
101
101
  ux.stdout(`${this.design.icons.current.figure} ${stage}…`);
102
102
  this.printInfo(this.preStagesBlock, 3);
103
103
  this.printInfo(this.stageSpecificBlock?.filter((info) => info.stage === stage), 3);
@@ -106,6 +106,10 @@ class CIMultiStageOutput {
106
106
  }
107
107
  case 'failed':
108
108
  case 'skipped':
109
+ case 'paused':
110
+ case 'aborted':
111
+ case 'async':
112
+ case 'warning':
109
113
  case 'completed': {
110
114
  this.seenStages.add(stage);
111
115
  if (this.hasStageTime && status !== 'skipped') {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@oclif/multi-stage-output",
3
3
  "description": "Terminal output for oclif commands with multiple stages",
4
- "version": "0.7.2",
4
+ "version": "0.7.3",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/oclif/multi-stage-output/issues",
7
7
  "dependencies": {