Skip to content

Commit

Permalink
don't assume extension is .pod since it isn't
Browse files Browse the repository at this point in the history
  • Loading branch information
stmuk committed Jul 8, 2016
1 parent 572dcb4 commit e3efa24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/p6doc
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ multi sub MAIN(Bool :$l!) {
my @modules;
for @paths -> $dir {
for dir($dir).sort -> $file {
@modules.push: $file.basename.subst('.pod','') if $file.IO.f;
@modules.push: $file.basename.subst( '.'~$file.extension,'') if $file.IO.f;
}
}
@modules.append: list-installed().map(*.name).unique;
Expand Down

0 comments on commit e3efa24

Please sign in to comment.