diff --git a/lib/trailblazer/activity/dsl/linear/normalizer/output_tuples.rb b/lib/trailblazer/activity/dsl/linear/normalizer/output_tuples.rb index 236b82d6..7bf803ed 100644 --- a/lib/trailblazer/activity/dsl/linear/normalizer/output_tuples.rb +++ b/lib/trailblazer/activity/dsl/linear/normalizer/output_tuples.rb @@ -18,7 +18,7 @@ def to_a(*) # Connector when using Track(:success). class Track < Struct.new(:color, :adds, :options) def to_a(*) - search_strategy = options[:wrap_around] ? :WrapAround : :Forward + search_strategy = options&.key?(:wrap_around) ? :WrapAround : :Forward return [Linear::Sequence::Search.method(search_strategy), color], adds end