Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Get rid of superstitious .[0]
  • Loading branch information
Mouq committed Jun 15, 2014
1 parent 9557eb6 commit 4bcefef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htmlify.p6
Expand Up @@ -172,7 +172,7 @@ sub MAIN(Bool :$debug, Bool :$typegraph = False) {
printf "% 4d/%d: % -40s => %s\n", $num, +@type-doc-sources, $file.path, "type/$podname";
my $pod = EVAL(slurp($file.path) ~ "\n\$=pod")[0];
say pod-gist($pod[0]) if $*DEBUG;
write-type-file(:$dr, :what<type>, :pod($pod[0]), :$podname);
write-type-file(:$dr, :what<type>, :$pod, :$podname);
}

say 'Composing doc registry ...';
Expand Down

0 comments on commit 4bcefef

Please sign in to comment.