Commit f463ef5e authored by Lin Jen-Shin's avatar Lin Jen-Shin
parent 7cced600
......@@ -21,8 +21,7 @@ module Gitlab
def status
@project.pipelines
.where(sha: @sha)
.latest(@ref)
.status || 'unknown'
.latest_status(@ref) || 'unknown'
end
def metadata
......
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