Skip to content

Commit 0bfb92c

Browse files
authored
Explicitly close the output file
Without this, windows complains about not having permission to write after processing some number of files.
1 parent 5769c45 commit 0bfb92c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Pod/Cache.pm6

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ method cache-file(Str $file --> Str) {
1818
$job.stdout.tap(-> $buf {$outfile.print: $buf});
1919

2020
await $job.start;
21+
$outfile.close;
2122
}
2223
$outfile
2324
}

0 commit comments

Comments
 (0)