fix(workflows-sdk): when then return value (#9427)
This commit is contained in:
committed by
GitHub
parent
cb5c228a36
commit
8155c4e9ee
@@ -22,9 +22,11 @@ export class OrchestratorBuilder {
|
||||
this.steps = {
|
||||
depth: -1,
|
||||
parent: null,
|
||||
next: steps
|
||||
next: Object.keys(steps ?? {}).length
|
||||
? JSON.parse(
|
||||
JSON.stringify((steps.action ? steps : steps.next) as InternalStep)
|
||||
JSON.stringify(
|
||||
(steps!.action ? steps : steps!.next) as InternalStep
|
||||
)
|
||||
)
|
||||
: undefined,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user