Skip to content

Commit

Permalink
When addressing this StackOverflow question:
Browse files Browse the repository at this point in the history
https://stackoverflow.com/questions/27921691/perl-workflow-module-with-validator/47498915#47498915

I fell over this part, made a TODO annotation since it does not look right
  • Loading branch information
jonasbn committed Nov 28, 2017
1 parent e13f8ef commit dff4605
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Workflow/Action.pm
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ sub validate {
foreach my $validator_info (@validators) {
my $validator = $validator_info->{validator};
my $args = $validator_info->{args};

# TODO: Revisit this statement it does not look right
# runtime_args becomes the WF object??
my @runtime_args = ($wf);
foreach my $arg ( @{$args} ) {
if ( $arg =~ /^\$(.*)$/ ) {
Expand Down

0 comments on commit dff4605

Please sign in to comment.