@alineo-labs/workflow 0.1.1 → 0.1.2

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.
Files changed (2) hide show
  1. package/dist/index.mjs +4 -2
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -351,7 +351,7 @@ var WorkflowBuilder = class {
351
351
  combined.stdout += r.stdout;
352
352
  Object.assign(combined.vars, r.vars);
353
353
  }
354
- } else if (stage.type === "sequence") {
354
+ } else {
355
355
  const result = await this._runSequence(stage.steps, sink);
356
356
  combined.stdout += result.stdout;
357
357
  Object.assign(combined.vars, result.vars);
@@ -395,7 +395,9 @@ var WorkflowBuilder = class {
395
395
  timeout: step.timeout,
396
396
  name: step.name
397
397
  };
398
- const result = await this._runSandbox(opts, (sb) => step.run(sb, prev), sink);
398
+ const result = await this._runSandbox(opts, (sb) => {
399
+ step.run(sb, prev);
400
+ }, sink);
399
401
  combined.stdout += result.stdout;
400
402
  Object.assign(combined.vars, result.vars);
401
403
  prev = result;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alineo-labs/workflow",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -29,7 +29,7 @@
29
29
  "test:watch": "vitest"
30
30
  },
31
31
  "dependencies": {
32
- "@alineo-labs/sandbox": "0.2.0"
32
+ "@alineo-labs/sandbox": "0.3.0"
33
33
  },
34
34
  "devDependencies": {
35
35
  "bun-types": "1.3.14",