Skip to content

Commit

Permalink
Minor changes to debugging remnants and NEWS
Browse files Browse the repository at this point in the history
  • Loading branch information
al-obrien committed Nov 15, 2023
1 parent 3fb5599 commit 23e14bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* Remove page_token parameter from mid-level functions, all handled at low-level automatically.
* Use `httr2::req_perform_sequential()` for the `RosvVulns()` methods to get build-in helpers not
available in `purrr::map()` alone.
* Add `osv_scan()` as a high-level function to scan various components of a project (focus on R project content).

# rosv 0.4.2

Expand Down
2 changes: 1 addition & 1 deletion R/RosvQuery1.R
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ RosvQuery1 <- R6::R6Class('RosvQuery1',
#' Print basic details of query object to screen.
#' @param ... Reserved for possible future use.
print = function(...) {
if(!is.null(self$response)) {browser()
if(!is.null(self$response)) {
success_length <- length(httr2::resps_successes(self$response))
cat('Request made to:', self$request$url , '\n')
cat('Successful responses of total:', success_length, '/', length(self$response), '\n')
Expand Down

0 comments on commit 23e14bc

Please sign in to comment.