lib/site_hook/webhook.rb in site_hook-0.6.11 vs lib/site_hook/webhook.rb in site_hook-0.6.12

- old
+ new

@@ -145,10 +145,10 @@ end if Webhook.verified?(req_body.to_s, signature, project['hookpass'], plaintext: plaintext, service: service) BUILDLOG.info 'Building...' jekyllbuild = SiteHook::Senders::Jekyll.build(project['src'], project['dst'], BUILDLOG) - jekyll_status = jekyllbuild.fetch(:status, 1) + jekyll_status = jekyllbuild case jekyll_status when 0 status 200 headers 'Content-Type' => 'application/json'