From c20802c3296f7d47680cabc42c2644bb41b31e36 Mon Sep 17 00:00:00 2001 From: Anna Krystalli Date: Tue, 3 Sep 2024 17:18:55 +0100 Subject: [PATCH] print msg when hub_validations empty --- R/hub_validations_methods.R | 1 + 1 file changed, 1 insertion(+) diff --git a/R/hub_validations_methods.R b/R/hub_validations_methods.R index 694fb18d..a8fb7681 100644 --- a/R/hub_validations_methods.R +++ b/R/hub_validations_methods.R @@ -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]