Skip to content

Commit

Permalink
Convert namespace separators from module to task (fix #1188)
Browse files Browse the repository at this point in the history
  • Loading branch information
ferki committed Apr 21, 2018
1 parent e7ad26b commit 88949fd
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 88949fd

Please sign in to comment.