BigW Consortium Gitlab

Commit 2e3bc854 by Grzegorz Bizon

Do not return from proc-closure in pipeline transition

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