Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinushey committed Apr 7, 2024
1 parent 565abf4 commit 7f423f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/download.R
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ renv_download_curl <- function(url, destfile, type, request, headers) {
text <- paste(keys, vals, sep = " = ")

# remove duplicated authorization headers
dupes <- grep("^header", text) & duplicated(text)
dupes <- startswith(text, "header =") & duplicated(text)
text <- text[!dupes]

# add in stand-along flags
Expand Down

0 comments on commit 7f423f9

Please sign in to comment.