lib/u3d/log_analyzer.rb in u3d-1.0.9 vs lib/u3d/log_analyzer.rb in u3d-1.0.10
- old
+ new
@@ -76,10 +76,10 @@
# Check if phase is changing
@phases.each do |name, phase|
next if name == @active_phase
next unless line =~ phase['phase_start_pattern']
- finish_phase
+ finish_phase if @active_phase
@active_phase = name
UI.verbose("--- Beginning #{name} phase ---")
break
end