@chevre/domain 22.11.0-alpha.30 → 22.11.0-alpha.31

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.
@@ -43,11 +43,11 @@ interface IRunningTaskByName {
43
43
  executionResult?: never;
44
44
  }
45
45
  /**
46
- * 実行後失敗したタスクイベント
46
+ * 実行後タスクイベント
47
47
  */
48
48
  interface IExecutedTask {
49
49
  id: string;
50
- status: factory.taskStatus.Running | factory.taskStatus.Aborted;
50
+ status: factory.taskStatus.Executed | factory.taskStatus.Running | factory.taskStatus.Aborted;
51
51
  name: factory.taskName;
52
52
  executionResult: factory.task.IExecutionResult;
53
53
  /**
@@ -650,10 +650,8 @@ class TaskRepo {
650
650
  .exec();
651
651
  // emit event(2025-05-26~)
652
652
  if (typeof next === 'function') {
653
- if (status !== factory.taskStatus.Executed) {
654
- const changedTask = { id, name, status, remainingNumberOfTries, executionResult };
655
- task_1.taskEventEmitter.emitTaskStatusChanged(changedTask, next);
656
- }
653
+ const changedTask = { id, name, status, remainingNumberOfTries, executionResult };
654
+ task_1.taskEventEmitter.emitTaskStatusChanged(changedTask, next);
657
655
  }
658
656
  });
659
657
  }
package/package.json CHANGED
@@ -115,5 +115,5 @@
115
115
  "postversion": "git push origin --tags",
116
116
  "prepublishOnly": "npm run clean && npm run build && npm test && npm run doc"
117
117
  },
118
- "version": "22.11.0-alpha.30"
118
+ "version": "22.11.0-alpha.31"
119
119
  }