Do not return from proc-closure in pipeline transition
This commit is contained in:
parent
9eedd6f9c7
commit
2e3bc85421
1 changed files with 1 additions and 1 deletions
|
@ -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|
|
||||
|
|
Loading…
Reference in a new issue