Skip to content

Commit

Permalink
We need to express the default case explicitly
Browse files Browse the repository at this point in the history
Otherwise we get an error, though it's not clear if this is expected
(see #50).
  • Loading branch information
PeterJCLaw committed Apr 18, 2018
1 parent c9feb39 commit ce22ac5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ state_machines:
next:
type: context
path: feeds.jacquard.has_redesigned_first_two_drip_emails
default: send_welcome_email
destinations:
- value: false
state: send_welcome_email
- value: true
state: send_welcome_email_test

Expand Down Expand Up @@ -46,9 +45,8 @@ state_machines:
next:
type: context
path: feeds.jacquard.has_redesigned_first_two_drip_emails
default: send_stylist_onboarding_email
destinations:
- value: false
state: send_stylist_onboarding_email
- value: true
state: send_stylist_onboarding_email_test

Expand Down

0 comments on commit ce22ac5

Please sign in to comment.