Skip to content

Commit

Permalink
#402 missing actions types
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel committed Jan 6, 2025
1 parent 941387d commit 96d3935
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/geoflow_action.R
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ geoflow_action <- R6Class("geoflow_action",
self$authors = yml$authors
self$maintainer = yml$maintainer
self$def = yml$def
self$types = yml$types
self$target = if(yml$target=="NA") NA else yml$target
self$target_dir = if(yml$target_dir=="NA") NA else yml$target_dir
if(!is.na(self$target)) if(!self$target %in% c("entity","job")) stop("Action target should be either 'entity' or 'job'")
Expand Down

0 comments on commit 96d3935

Please sign in to comment.