Skip to content

Commit

Permalink
Merge pull request #196 from oliwel/fix/validator-undef-arguments
Browse files Browse the repository at this point in the history
Enforce call to context->param as scalar
  • Loading branch information
ehuelsmann committed Mar 2, 2022
2 parents 8616fb3 + 0fa8cda commit e885277
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Workflow/Action.pm
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ sub validate {
my @runtime_args = ($wf);
foreach my $arg ( @{$args} ) {
if ( $arg =~ /^\$(.*)$/ ) {
push @runtime_args, $context->param($1);
push @runtime_args, scalar $context->param($1);
} else {
push @runtime_args, $arg;
}
Expand Down

0 comments on commit e885277

Please sign in to comment.