@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.js CHANGED
@@ -2319,7 +2319,7 @@ var taskGenMapper = (tasks) => tasks.reduce((acc, task, idx) => {
2319
2319
  return acc.concat(maybeAddJoinTask(filledTask, maybeNextTask));
2320
2320
  }, []);
2321
2321
  var maybeAddJoinTask = (currentTask, maybeNextTask) => {
2322
- if (currentTask.type === "FORK_JOIN" /* FORK_JOIN */ || currentTask.type === "FORK_JOIN_DYNAMIC" /* FORK_JOIN_DYNAMIC */ && maybeNextTask != null && maybeNextTask.type !== "JOIN" /* JOIN */) {
2322
+ if ((currentTask.type === "FORK_JOIN" /* FORK_JOIN */ || currentTask.type === "FORK_JOIN_DYNAMIC" /* FORK_JOIN_DYNAMIC */) && maybeNextTask != null && maybeNextTask.type !== "JOIN" /* JOIN */) {
2323
2323
  return [currentTask, generateJoinTask({})];
2324
2324
  }
2325
2325
  return currentTask;