Skip to content

Commit e222ee4

Browse files
authored
Merge pull request #39 from ATNoG/main
Minor fix in event state details machine generator
2 parents 166bd12 + 8ab923b commit e222ee4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

serverlessworkflow/sdk/state_machine_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ def event_state_details(self):
295295
else:
296296
oe_state.initial.append(event)
297297

298-
if self.current_state.exclusive:
298+
if self.current_state.exclusive and oe.actions:
299299
oe_state.add_substate(
300300
ns := self.state_machine.state_cls(
301301
action_name := f"action {ie}"

0 commit comments

Comments
 (0)