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 Dec 3, 2019
1 parent 97103be commit 0fd50ec
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 0fd50ec

Please sign in to comment.