lib/github-status/out.rb in concourse-github-status-0.5.0 vs lib/github-status/out.rb in concourse-github-status-0.5.7
- old
+ new
@@ -19,12 +19,12 @@
if statuses.empty?
github.create_status repo, sha, state, options
else
statuses.map do |status|
options = {
- context: status["context"],
+ context: status["context"] || "concourse",
target_url: target_url,
- description: status["description"]
+ description: status["description"] || ""
}
github.create_status repo, sha, status["state"], options
end
end
rescue Octokit::Error => error