We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2475551 commit 89b2d19Copy full SHA for 89b2d19
bin/p6doc
@@ -27,7 +27,7 @@ sub tempfile() {
27
28
sub search-paths() {
29
(findbin() X~ <../doc/perl6/lib/ ../lib/> X~ '',<Type/ Language/ Routine/>),
30
- @*INC>>.Str.map({ /\/$/ ?? $_ !! $_ ~ '/' });
+ @*INC.map({CompUnitRepo.new($_)})».IO».Str.map({ /\/$/ ?? $_ !! $_ ~ '/' });
31
}
32
33
sub module-names(Str $modulename) {
bin/p6doc-index
@@ -28,7 +28,7 @@ multi sub MAIN('build') {
# XXX p6doc probably uses another path to @*INC which is probably incomplete
- for ( @*INC ) -> $lib_path is copy {
+ for @*INC.map({CompUnitRepo.new($_)})».IO -> $lib_path is copy {
$lib_path = $lib_path.Str;
34
my @files := find(:dir($lib_path),:type('file'));
0 commit comments