Skip to content

Commit fc62bc5

Browse files
authored
Coveralls: fix a deprecated HTTP post call (#321)
1 parent ce273bc commit fc62bc5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "Coverage"
22
uuid = "a2441757-f6aa-5fb2-8edb-039e3f45d037"
33
authors = ["Iain Dunning <[email protected]>", "contributors"]
4-
version = "1.3.1"
4+
version = "1.3.2"
55

66
[deps]
77
CoverageTools = "c36e975a-824b-4404-a568-ef97ca766997"

src/coveralls.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,8 @@ end
213213
function post_request(data)
214214
@info "Submitting data to Coveralls..."
215215
coveralls_url = get(ENV, "COVERALLS_URL", "https://coveralls.io/api/v1/jobs")
216-
req = HTTP.post(coveralls_url, HTTP.Form(makebody(data)))
216+
headers = []
217+
req = HTTP.post(coveralls_url, headers, HTTP.Form(makebody(data)))
217218
@debug "Result of submission:\n" * String(req)
218219
nothing
219220
end

0 commit comments

Comments
 (0)