Skip to content

Commit

Permalink
fix new bug
Browse files Browse the repository at this point in the history
  • Loading branch information
wlandau committed Nov 21, 2024
1 parent 79bab3b commit 70eb60d
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions R/class_reference.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,21 @@ reference_produce_target <- function(reference, pipeline, name) {
child <- target_produce_child(parent, name)
file <- .subset2(child, "file")
if (!is.null(file)) {
file$path <- reference_path(reference)
file$stage <- reference_stage(reference)
file$hash <- reference_hash(reference)
path <- reference_path(reference)
stage <- reference_stage(reference)
hash <- reference_hash(reference)
if (is.null(path)) {
path <- NA_character_
}
if (is.null(stage)) {
stage <- NA_character_
}
if (is.null(hash)) {
hash <- NA_character_
}
file$path <- path
file$stage <- stage
file$hash <- hash
}
child
}
Expand Down

0 comments on commit 70eb60d

Please sign in to comment.