Do not return from proc-closure in pipeline transition

This commit is contained in:
Grzegorz Bizon 2016-10-12 15:21:11 +02:00
parent 9eedd6f9c7
commit 2e3bc85421

View file

@ -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|