Skip to content

Commit d60157c

Browse files
committed
derp
1 parent 6d62f2e commit d60157c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

inst/testscripts/comment.R

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,14 @@ system(paste("git push -q", repo, "gh-pages"))
5757
tbl_link <- sprintf("http://ropensci.github.io/plotly-test-table/tables/%s/index.html",
5858
info$head$sha)
5959
commentz <- sprintf(paste0(base, 'issues/%s/comments'), a[1])
60-
message(commentz)
6160
res <- GET(commentz, header)
6261
warn_for_status(res)
6362
info <- content(res)
6463
old_body <- unlist(lapply(info, "[", "body"))
6564
if (!any(grepl(tbl_link, old_body))) {
6665
msg <- sprintf("New test table created at %s", tbl_link)
6766
json <- jsonlite::toJSON(list(body = msg), auto_unbox = TRUE)
68-
httr::POST(url = url, header, body = json, encode = "json")
67+
httr::POST(url = commentz, header, body = json, encode = "json")
6968
} else {
7069
message("Link already posted")
7170
}

0 commit comments

Comments
 (0)