Skip to content

Commit

Permalink
Restrict to patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
wlandau committed Apr 13, 2024
1 parent 2f74005 commit 5b9dc78
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion R/class_pipeline.R
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,12 @@ pipeline_unmarshal_values <- function(pipeline) {
names,
~target_unmarshal_value(pipeline_get_target(pipeline, .x))
)
map(
patterns <- fltr(
names,
~inherits(pipeline_get_target(pipeline, .x), "tar_pattern")
)
map(
patterns,
~target_ensure_value(pipeline_get_target(pipeline, .x), pipeline)
)
}
Expand Down

0 comments on commit 5b9dc78

Please sign in to comment.