Skip to content

Commit 8d8079b

Browse files
get recursive directories from the excluded directories
1 parent 9830f0b commit 8d8079b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

R/ui-styling.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,9 @@ prettify_any <- function(transformers,
241241
base_indention = 0,
242242
dry) {
243243
exclude_files <- set_arg_paths(exclude_files)
244-
exclude_dirs <- set_arg_paths(exclude_dirs)
244+
exclude_dirs <- exclude_dirs %>%
245+
list.dirs(recursive = TRUE, full.names = TRUE) %>%
246+
set_arg_paths()
245247
files_root <- dir(
246248
path = ".", pattern = map_filetype_to_pattern(filetype),
247249
ignore.case = TRUE, recursive = FALSE, all.files = TRUE

0 commit comments

Comments
 (0)