Skip to content
Snippets Groups Projects
Commit fe5735a8 authored by Kamil Trzcinski's avatar Kamil Trzcinski
Browse files

Delegate to pipeline instead of commit

parent 08baa998
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -52,7 +52,7 @@ class CommitStatus < ActiveRecord::Base
end
end
 
delegate :sha, :short_sha, to: :commit
delegate :sha, :short_sha, to: :pipeline
 
def before_sha
pipeline.before_sha || Gitlab::Git::BLANK_SHA
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment