We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84e0a79 commit ad3e34eCopy full SHA for ad3e34e
ChangeLog
@@ -13,6 +13,7 @@ Revision history for Rex
13
- Correct example for file_read command
14
15
[ENHANCEMENTS]
16
+ - Show Rexfile path in loading messages
17
18
[MAJOR]
19
lib/Rex/CLI.pm
@@ -767,7 +767,7 @@ sub load_rexfile {
767
s{/loader/[^/]+/}{}sxm;
768
769
# convert Rexfile to human-friendly name
770
- s{__Rexfile__.pm}{Rexfile}msx;
+ s{__Rexfile__.pm}{$rexfile}msx;
771
772
Rex::Logger::info( "\t$_", 'warn' );
773
}
@@ -785,7 +785,7 @@ sub load_rexfile {
785
$e =~ s|/loader/[^/]+/||smg;
786
787
788
- $e =~ s{__Rexfile__.pm}{Rexfile}msx;
+ $e =~ s{__Rexfile__.pm}{$rexfile}gmsx;
789
790
my @lines = split( $/, $e );
791
0 commit comments