06a3f8c142568561be815bca19a9590413f50636
TraverseDirectory imported a record without downloaded files only when the next "Post id:" line appeared, so the final record of every export file was never evaluated and a matching post at the end of a file never reached Posts. Move the check into a local function and call it again after the line loop, so the last record is flushed under exactly the same conditions as every other one. HasImage values at both call sites are unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Languages
C#
95.9%
PLpgSQL
4.1%