Commit f9a18143 authored by Kamil Trzcinski's avatar Kamil Trzcinski Committed by Grzegorz Bizon

Fix lambda operator

parent be039d22
......@@ -64,7 +64,7 @@ module Ci
state_machine :status do
event :block do
transition :created => :manual, if: () -> { self.when == 'manual' }
transition :created => :manual, if: ->() { self.when == 'manual' }
end
after_transition any => [:pending] do |build|
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment