lib/github-status/support/params.rb in concourse-github-status-0.2.2 vs lib/github-status/support/params.rb in concourse-github-status-0.2.4

- old
+ new

@@ -12,10 +12,10 @@ rescue KeyError STDERR.puts 'Params is missing path' abort end - Contract None => String + Contract None => Enum['success', 'pending', 'failure'] def state @state ||= params.fetch 'state' rescue KeyError STDERR.puts 'Params is missing state' abort