Skip to content

Commit

Permalink
file is already an .IO
Browse files Browse the repository at this point in the history
  • Loading branch information
stmuk committed Jan 14, 2016
1 parent 47fcaf0 commit 4839d10
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 @@ -107,7 +107,7 @@ multi sub MAIN(Bool :$l!) {
my @paths = search-paths() X~ <Type/ Language/> ;
for @paths -> $dir {
for dir($dir).sort -> $file {
say Str($file).IO.basename.subst('.pod','') if $file.IO.f;
say $file.basename.Str.subst('.pod','') if $file.f;
}
}
}
Expand Down

0 comments on commit 4839d10

Please sign in to comment.