Skip to content

Commit 0ecd43f

Browse files
committed
fix bind step method to context
1 parent fb58d24 commit 0ecd43f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/duron/src/step-manager.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,7 @@ class ActionContext<TInput extends z.ZodObject, TOutput extends z.ZodObject, TVa
404404
})
405405
}
406406
this.#input = job.input ?? {}
407+
this.step = this.step.bind(this)
407408
}
408409

409410
// ============================================================================

0 commit comments

Comments
 (0)