BigW Consortium Gitlab

Commit 51724985 by Lin Jen-Shin

It's latest_for, not just latest

parent 729ad5d5
......@@ -22,7 +22,7 @@ module Ci
# ref can't be HEAD or SHA, can only be branch/tag name
scope :latest_successful_for, ->(ref) do
latest(ref).success
latest_for(ref).success
end
scope :latest_for, ->(ref) do
......
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