Skip to content

Commit

Permalink
fix: sepuku deals with "keep" section in fusen config yml
Browse files Browse the repository at this point in the history
sepuku was raising a warning when a keep section was present in the fusen config file
  • Loading branch information
yohann committed Jun 28, 2024
1 parent 06dc261 commit 2536d36
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 2536d36

Please sign in to comment.