@io-orkes/conductor-javascript 0.0.11 → 0.0.12

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.
package/dist/index.mjs CHANGED
@@ -2247,7 +2247,7 @@ var taskGenMapper = (tasks) => tasks.reduce((acc, task, idx) => {
2247
2247
  return acc.concat(maybeAddJoinTask(filledTask, maybeNextTask));
2248
2248
  }, []);
2249
2249
  var maybeAddJoinTask = (currentTask, maybeNextTask) => {
2250
- if (currentTask.type === "FORK_JOIN" /* FORK_JOIN */ || currentTask.type === "FORK_JOIN_DYNAMIC" /* FORK_JOIN_DYNAMIC */ && maybeNextTask != null && maybeNextTask.type !== "JOIN" /* JOIN */) {
2250
+ if ((currentTask.type === "FORK_JOIN" /* FORK_JOIN */ || currentTask.type === "FORK_JOIN_DYNAMIC" /* FORK_JOIN_DYNAMIC */) && maybeNextTask != null && maybeNextTask.type !== "JOIN" /* JOIN */) {
2251
2251
  return [currentTask, generateJoinTask({})];
2252
2252
  }
2253
2253
  return currentTask;