From 95faf137223822daf92ffcdd1ce19d3a5fecb71f Mon Sep 17 00:00:00 2001 From: Anna Krystalli Date: Thu, 28 Sep 2023 17:42:57 +0300 Subject: [PATCH] correct ref of pr_files to pr_filenames --- R/validate_pr.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/validate_pr.R b/R/validate_pr.R index 3a7dec70..3ae961c9 100644 --- a/R/validate_pr.R +++ b/R/validate_pr.R @@ -118,7 +118,7 @@ inform_unvalidated_files <- function(model_output_files, if (length(pr_filenames) != length(validated_files)) { validated_idx <- purrr::map_int( validated_files, - ~ grep(.x, pr_files, fixed = TRUE) + ~ grep(.x, pr_filenames, fixed = TRUE) ) cli::cli_inform( "PR contains commits to additional files which have not been checked: