lib/yaks/runner.rb in yaks-0.7.3 vs lib/yaks/runner.rb in yaks-0.7.4
- old
+ new
@@ -98,10 +98,10 @@
when :before
[[name, hook], [step_name, callable]]
when :after
[[step_name, callable], [name, hook]]
when :around
- [[step_name, ->(x) { hook.call(x, &callable) }]]
+ [[step_name, ->(x, env) { hook.call(x, env, &callable) }]]
when :skip
[]
end
end || [[step_name, callable]]
end