Skip to content

Commit

Permalink
Added safty disabled patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanwills committed Jul 30, 2016
1 parent 8fa284e commit e9fe320
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/VCS/Which.pm
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ sub get_systems {

for my $file (@files) {
my $module = $file;
$module =~ s{$dir/}{}xms;
$module =~ s{\Q$dir\E/}{}xms;
$module =~ s{/}{::}gxms;
$module =~ s{[.]pm$}{}xms;

Expand Down

0 comments on commit e9fe320

Please sign in to comment.