Commit f463ef5e authored by Lin Jen-Shin's avatar Lin Jen-Shin
Browse files
parent f4c6341381f8
......@@ -21,8 +21,7 @@ def entity
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