lib/github-status/check.rb in concourse-github-status-0.5.8 vs lib/github-status/check.rb in concourse-github-status-0.5.9
- old
+ new
@@ -10,10 +10,10 @@
Contract HashOf[String, String] => String
def sha(version)
@sha ||= version.fetch('context@sha') { commit }.split('@').last
end
- Contract None => Time
+ Contract String => Time
def date(sha)
@date ||= github.commit(repo, sha).commit.author.date
end
Contract None => String