Skip to content

Commit

Permalink
Convert namespace separators from module to task (fix RexOps#1188)
Browse files Browse the repository at this point in the history
  • Loading branch information
ferki authored and alip committed Aug 10, 2020
1 parent 1965901 commit f91d364
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Rex/Commands.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1035,6 +1035,9 @@ sub needs {

Rex::Logger::debug("need to call tasks from $self");

$self =~ s/^Rex:://g;
$self =~ s/::/:/g;

my @tasks_to_run;
if($self) {
@tasks_to_run = $tl->get_all_tasks(qr{^\Q$self\E:[A-Za-z0-9_\-]+$});
Expand Down

0 comments on commit f91d364

Please sign in to comment.