lib/github-status/in.rb in concourse-github-status-0.5.11 vs lib/github-status/in.rb in concourse-github-status-0.6.2
- old
+ new
@@ -16,10 +16,10 @@
end
Contract None => Maybe[String]
def state
github
- .statuses(repo, sha)
+ .statuses(repo, canonical_sha)
.select { |status| status.context == context }
.map(&:state)
.first
end