Skip to content

Commit 1f7fd59

Browse files
authoredJun 28, 2024··
Merge pull request #266 from ThinkR-open/fix_sepuku_find_keep_in_config
fix: sepuku deals with "keep" section in fusen config yml
2 parents 06dc261 + 2536d36 commit 1f7fd59

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed
 

‎R/sepuku_utils.R

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ list_flat_files_in_config_file <- function(
1212
return(character(0))
1313
} else {
1414
config_yml <- yaml::read_yaml(config_file)
15+
config_yml <- config_yml[!names(config_yml) %in% "keep"]
1516
return(
1617
unlist(
1718
lapply(config_yml, "[[", "path")

‎dev/flat_sepuku-utils.Rmd

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ list_flat_files_in_config_file <- function(
3030
return(character(0))
3131
} else {
3232
config_yml <- yaml::read_yaml(config_file)
33+
config_yml <- config_yml[!names(config_yml) %in% "keep"]
3334
return(
3435
unlist(
3536
lapply(config_yml, "[[", "path")

0 commit comments

Comments
 (0)