Skip to content

Commit

Permalink
fix partial match problem in as.list, use all.names instead of all, b…
Browse files Browse the repository at this point in the history
…ump version
  • Loading branch information
sckott committed Feb 7, 2019
1 parent d25e537 commit b20a2d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Description: Record test suite 'HTTP' requests and replays them during
real 'HTTP' responses on disk in 'cassettes'. Subsequent 'HTTP' requests
matching any previous requests in the same 'cassette' use a cached
'HTTP' response.
Version: 0.2.2.9311
Version: 0.2.2.9312
Authors@R: c(person("Scott", "Chamberlain", role = c("aut", "cre"),
email = "sckott@protonmail.com", comment = c(ORCID="0000-0003-1444-9135")))
URL: https://github.com/ropensci/vcr/ (devel)
Expand Down
2 changes: 1 addition & 1 deletion R/configuration.R
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ vcr_configure <- function(
log_opts <- merge_list(log_opts,
list(file = "vcr.log", log_prefix = "Cassette", date = TRUE))

calls <- as.list(environment(), all = TRUE)
calls <- as.list(environment(), all.names = TRUE)
for (i in seq_along(calls)) {
vcr_c[[names(calls)[i]]] <- calls[[i]]
}
Expand Down

0 comments on commit b20a2d5

Please sign in to comment.