Commit 2e3bc854 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Do not return from proc-closure in pipeline transition

parent 9eedd6f9
...@@ -86,7 +86,7 @@ class CommitStatus < ActiveRecord::Base ...@@ -86,7 +86,7 @@ class CommitStatus < ActiveRecord::Base
end end
after_transition do |commit_status, transition| after_transition do |commit_status, transition|
return if transition.loopback? next if transition.loopback?
commit_status.run_after_commit do commit_status.run_after_commit do
pipeline.try do |pipeline| pipeline.try do |pipeline|
......
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