Skip to content

Commit 294abf7

Browse files
author
Ashley Baldwin-Hunter
committed
Merge pull request #82 from codeclimate/abh_details_url
don't remove details url for errored PRs
2 parents ea63007 + 4cb73a3 commit 294abf7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/cc/services/github_pull_requests.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,6 @@ def update_status(state, description)
109109
target_url: @payload["details_url"],
110110
context: "codeclimate"
111111
}
112-
if state == "error"
113-
params.delete(:target_url)
114-
end
115112
@response = service_post(status_url, params.to_json)
116113
end
117114
end

0 commit comments

Comments
 (0)