Skip to content

Commit

Permalink
Merge pull request #664 from rstudio/aron-fix-download-results
Browse files Browse the repository at this point in the history
fix variable reference issue in bitbucket and gitlab downloaders
  • Loading branch information
aronatkins authored May 25, 2022
2 parents 45b7a2e + 2e3170f commit e51303b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/bitbucket.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ bitbucketDownloadImpl <- function(url, destfile, ...) {
list()
}

request <- GET(url, auth)
result <- GET(url, auth)
if (result$status != 200) {
stop(
sprintf(
Expand Down
2 changes: 1 addition & 1 deletion R/gitlab.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ gitlabDownloadImpl <- function(url, destfile, ...) {
list()
}

request <- GET(url, auth)
result <- GET(url, auth)
if (result$status != 200) {
stop(
sprintf(
Expand Down

0 comments on commit e51303b

Please sign in to comment.