Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
stop looking after finding a matching module file
if both a .pm6 and a .pm exist with a matching name, only the
.pm would be used, which is clearly not right.
  • Loading branch information
timo committed Jul 8, 2017
1 parent a209082 commit e1e9091
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/CompUnit/Repository/FileSystem.pm
Expand Up @@ -45,6 +45,7 @@ class CompUnit::Repository::FileSystem does CompUnit::Repository::Locally does C
for @extensions -> $extension {
my $path = ($base ~ $extension).IO;
$found = $path if $path.f;
last if $found;
}
}

Expand Down

0 comments on commit e1e9091

Please sign in to comment.