Skip to content

Commit

Permalink
print msg when hub_validations empty
Browse files Browse the repository at this point in the history
  • Loading branch information
annakrystalli committed Sep 3, 2024
1 parent 407a613 commit c20802c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/hub_validations_methods.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
print.hub_validations <- function(x, ...) {
if (length(x) == 0L) {
msg <- cli::format_inline("Empty {.cls hub_validations}")
cli::cli_inform(msg)
} else {
print_file <- function(file_name, x) {
x <- x[get_filenames(x) == file_name]
Expand Down

0 comments on commit c20802c

Please sign in to comment.