Skip to content

Commit

Permalink
remove puts.
Browse files Browse the repository at this point in the history
  • Loading branch information
apotonick committed Apr 18, 2024
1 parent 49dbafb commit ec591e8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/trailblazer/workflow/collaboration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,7 @@ def initial_lane_positions(lanes_cfg)
# FIXME: set the suspend that leads to the "start catch event" as the circuit's start_task, then we don't need this here.
# Find the suspend that resumes the actual start_catch_event
suspend_task, _ = activity.to_h[:circuit].to_h[:map].find { |task, _| task.is_a?(Trailblazer::Workflow::Event::Suspend) && task.to_h["resumes"].include?(start_catch_event_id) }
if suspend_task.nil?
pp activity.to_h[:circuit]
end

[
activity,
suspend_task # We deliberately have *one* position per lane, we're Synchronous.
Expand Down

0 comments on commit ec591e8

Please sign in to comment.