Skip to content

Commit

Permalink
fix variable reference issue in bitbucket and gitlab downloaders
Browse files Browse the repository at this point in the history
  • Loading branch information
aronatkins committed May 25, 2022
1 parent 45b7a2e commit 2e3170f
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 2e3170f

Please sign in to comment.