Skip to content

Commit

Permalink
use normal println for respons body since pprint's quoting confuses t…
Browse files Browse the repository at this point in the history
…ravis' log collector
  • Loading branch information
lihaoyi committed Jul 3, 2017
1 parent 9a5be53 commit 56aff4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/upload.sc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def apply(uploadedFile: Path,
.asString.body
val parsed = upickle.json.read(body)

pprint.log(body, height=9999)
println(body)

val snapshotReleaseId =
parsed.arr
Expand All @@ -43,7 +43,7 @@ def apply(uploadedFile: Path,
.postData(read.bytes! uploadedFile)
.asString

pprint.log(res.body, height=9999)
println(res.body)
val longUrl = upickle.json.read(res.body)("browser_download_url").str

println("Long Url " + longUrl)
Expand Down

0 comments on commit 56aff4a

Please sign in to comment.