Skip to content

Commit acf007e

Browse files
Remove reported filePaths from serial report after yielding (#63)
1 parent 6c23106 commit acf007e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/api.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ export async function* serialReport(
8585
const sizes = context.compressed.get(filePath);
8686
if (sizes !== undefined && sizes?.[0][0] && sizes?.[1][0] && sizes?.[2][0]) {
8787
yield [filePath, sizes?.[0][0], sizes?.[1][0], sizes?.[2][0]];
88+
paths.delete(filePath);
8889
}
8990
}
9091
next = await compressResults.next();

0 commit comments

Comments
 (0)