Skip to content

Commit

Permalink
correct ref of pr_files to pr_filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
annakrystalli committed Sep 28, 2023
1 parent 534c086 commit 95faf13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/validate_pr.R
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 95faf13

Please sign in to comment.