Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
remove workaround for Failure eating await
  • Loading branch information
gfldex committed Jul 24, 2016
1 parent a27516d commit f1bf208
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions htmlify.p6
Expand Up @@ -240,16 +240,14 @@ sub process-pod-dir($dir, :&sorted-by = &[cmp], :$sparse, :$parallel) {
for @pod-sources.kv -> $num, (:key($filename), :value($file)) {
FIRST my @pod-files;

# push @pod-files, start {
push @pod-files, {
push @pod-files, start {
printf "% 4d/%d: % -40s => %s\n", $num+1, $total, $file.path, "$kind/$filename";
my $pod = extract-pod($file.path);
process-pod-source :$kind, :$pod, :$filename, :pod-is-complete;
}

if $num %% $parallel {
# await(@pod-files);
@pod-files>>.();
await(@pod-files);
@pod-files = ();
}

Expand Down

0 comments on commit f1bf208

Please sign in to comment.