lib/ruote/exp/command.rb in ruote-2.1.10 vs lib/ruote/exp/command.rb in ruote-2.1.11
- old
+ new
@@ -41,9 +41,11 @@
command, step = workitem['fields'].delete(F_COMMAND)
command, step = lookup_attribute_command(workitem) unless command
command = 'break' if command == 'over' || command == 'stop'
+ step = 1 if step == ''
+
return nil if command == nil
if command == 'back'
command = 'skip'
step = step ? -step : -1