Skip to content

Commit 7f0f03f

Browse files
O957dylanhmorris
andauthored
Update R/check_changes_for_autoapproval.R
Co-authored-by: Dylan H. Morris <[email protected]>
1 parent 7c5b422 commit 7f0f03f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/check_changes_for_autoapproval.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ check_changes_for_autoapproval <- function(
6363
# extract unique model IDs
6464
changed_dirs <- changed_files_tbl |>
6565
dplyr::filter(.data$in_model_output) |>
66-
dplyr::pull(.data$model_id) |>
66+
if (nrow(changed_model_ids) == 0) {
6767
unique()
6868

6969
# only check authorization if there are model directories

0 commit comments

Comments
 (0)