@cadenza.io/core 3.0.9 → 3.0.11

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
@@ -2165,7 +2165,7 @@ var GraphRegistry = class _GraphRegistry {
2165
2165
  return { ...context, __task: task };
2166
2166
  }
2167
2167
  }
2168
- return context;
2168
+ return false;
2169
2169
  },
2170
2170
  "Gets task by name (first match)."
2171
2171
  );
@@ -2226,7 +2226,7 @@ var GraphRegistry = class _GraphRegistry {
2226
2226
  return { ...context, __routine: routine };
2227
2227
  }
2228
2228
  }
2229
- return context;
2229
+ return false;
2230
2230
  },
2231
2231
  "Gets routine by name."
2232
2232
  );
@@ -2430,6 +2430,7 @@ var GraphRunner = class extends SignalEmitter {
2430
2430
  var _a;
2431
2431
  if (context.__task || context.__routine) {
2432
2432
  const routine = (_a = context.__task) != null ? _a : context.__routine;
2433
+ console.log("starting routine", routine, context);
2433
2434
  this.run(routine, context);
2434
2435
  return true;
2435
2436
  } else {