Skip to content

Commit 20dab8e

Browse files
committed
git add only allows one file argument
1 parent 2c0b3c8 commit 20dab8e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

inst/testscripts/comment.R

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ system("touch table.R")
4343
if (system("make") != 0L) stop("Failed to 'make' test table")
4444

4545
# add, commit, push to gh-pages branch of plotly-test-table
46-
system("git add tables/*/*.html data/*/*.png data/*/*.log")
46+
system("git add tables/*/*.html")
47+
system("git add data/*/*.png")
48+
system("git add data/*/*.log")
4749
commit_msg <- paste0('"Pushed from https://travis-ci.org/ropensci/plotly/builds/"', a[2])
4850
system(paste('git commit -m', commit_msg))
4951
# This post explains how this works -- http://rmflight.github.io/posts/2014/11/travis_ci_gh_pages.html
@@ -55,7 +57,7 @@ system(paste("git push", repo, "gh-pages"))
5557
# (needed since Travis randomly re-builds stuff)
5658
tbl_link <- sprintf("http://ropensci.github.io/plotly-test-table/tables/%s/index.html",
5759
info$head$sha)
58-
res <- GET(url = comments, header)
60+
res <- GET(comments, header)
5961
warn_for_status(res)
6062
info <- content(res)
6163
old_body <- unlist(lapply(info, "[", "body"))

0 commit comments

Comments
 (0)