lib/floe/workflow/states/wait.rb in floe-0.1.1 vs lib/floe/workflow/states/wait.rb in floe-0.2.0

- old
+ new

@@ -15,10 +15,13 @@ @input_path = Path.new(payload.fetch("InputPath", "$")) @output_path = Path.new(payload.fetch("OutputPath", "$")) end def run!(*) - super { sleep(seconds); nil } + super do + sleep(seconds) + nil + end end end end end end