Skip to content

Commit

Permalink
Merge pull request #266 from ThinkR-open/fix_sepuku_find_keep_in_config
Browse files Browse the repository at this point in the history
fix: sepuku deals with "keep" section in fusen config yml
  • Loading branch information
ymansiaux authored Jun 28, 2024
2 parents 06dc261 + 2536d36 commit 1f7fd59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions R/sepuku_utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ list_flat_files_in_config_file <- function(
return(character(0))
} else {
config_yml <- yaml::read_yaml(config_file)
config_yml <- config_yml[!names(config_yml) %in% "keep"]
return(
unlist(
lapply(config_yml, "[[", "path")
Expand Down
1 change: 1 addition & 0 deletions dev/flat_sepuku-utils.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ list_flat_files_in_config_file <- function(
return(character(0))
} else {
config_yml <- yaml::read_yaml(config_file)
config_yml <- config_yml[!names(config_yml) %in% "keep"]
return(
unlist(
lapply(config_yml, "[[", "path")
Expand Down

0 comments on commit 1f7fd59

Please sign in to comment.