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 Jan 17, 2018
1 parent 2e1f101 commit 96319e4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Rex/Commands.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1035,6 +1035,8 @@ sub needs {

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

$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 96319e4

Please sign in to comment.