lib/github-status/in.rb in concourse-github-status-0.4.2 vs lib/github-status/in.rb in concourse-github-status-0.4.3

- old
+ new

@@ -8,11 +8,11 @@ class In < Fuselage::In include Core include Support::Params include Support::GitHub - Contract HashOf[String, String] => String - def sha(version) + Contract None => String + def sha @sha ||= version.fetch('context@sha') { commit }.split('@').last end Contract None => Maybe[String] def state